mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-27 07:28:40 +00:00
Force platform to be vita if titleid is a vita game
This commit is contained in:
parent
bf4b957da1
commit
89932af6e7
1 changed files with 2 additions and 7 deletions
|
@ -139,19 +139,14 @@ public class NPTicket
|
||||||
_ => Platform.Unknown,
|
_ => Platform.Unknown,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (npTicket.Platform == Platform.PS3 && npTicket.GameVersion == GameVersion.LittleBigPlanetVita) npTicket.Platform = Platform.Vita;
|
||||||
|
|
||||||
if (npTicket.Platform == Platform.Unknown)
|
if (npTicket.Platform == Platform.Unknown)
|
||||||
{
|
{
|
||||||
Logger.Log($"Could not determine platform from IssuerId {npTicket.IssuerId} decimal", LoggerLevelLogin.Instance);
|
Logger.Log($"Could not determine platform from IssuerId {npTicket.IssuerId} decimal", LoggerLevelLogin.Instance);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if DEBUG
|
|
||||||
if (npTicket.GameVersion == GameVersion.LittleBigPlanetVita)
|
|
||||||
{
|
|
||||||
Logger.Log($"Platform for vita ticket is {npTicket.Platform}", LoggerLevelLogin.Instance);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
Logger.Log("npTicket data:", LoggerLevelLogin.Instance);
|
Logger.Log("npTicket data:", LoggerLevelLogin.Instance);
|
||||||
foreach (string line in JsonSerializer.Serialize(npTicket).Split('\n'))
|
foreach (string line in JsonSerializer.Serialize(npTicket).Split('\n'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue