mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 05:31:29 +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,
|
||||
};
|
||||
|
||||
if (npTicket.Platform == Platform.PS3 && npTicket.GameVersion == GameVersion.LittleBigPlanetVita) npTicket.Platform = Platform.Vita;
|
||||
|
||||
if (npTicket.Platform == Platform.Unknown)
|
||||
{
|
||||
Logger.Log($"Could not determine platform from IssuerId {npTicket.IssuerId} decimal", LoggerLevelLogin.Instance);
|
||||
return null;
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if (npTicket.GameVersion == GameVersion.LittleBigPlanetVita)
|
||||
{
|
||||
Logger.Log($"Platform for vita ticket is {npTicket.Platform}", LoggerLevelLogin.Instance);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
Logger.Log("npTicket data:", LoggerLevelLogin.Instance);
|
||||
foreach (string line in JsonSerializer.Serialize(npTicket).Split('\n'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue