From 89932af6e70a030d0ac15c7a0473651e63131bcf Mon Sep 17 00:00:00 2001 From: jvyden Date: Sun, 30 Jan 2022 15:56:32 -0500 Subject: [PATCH] Force platform to be vita if titleid is a vita game --- ProjectLighthouse/Types/Tickets/NPTicket.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ProjectLighthouse/Types/Tickets/NPTicket.cs b/ProjectLighthouse/Types/Tickets/NPTicket.cs index 1284ef53..5f948a1c 100644 --- a/ProjectLighthouse/Types/Tickets/NPTicket.cs +++ b/ProjectLighthouse/Types/Tickets/NPTicket.cs @@ -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'))