mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 01:58:40 +00:00
Assert if gameVersion is vita and platform is not vita
This commit is contained in:
parent
66e954e5f5
commit
b51ddec029
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
#nullable enable
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
|
@ -145,6 +146,11 @@ public class NPTicket
|
|||
_ => Platform.Unknown,
|
||||
};
|
||||
|
||||
if (npTicket.GameVersion == GameVersion.LittleBigPlanetVita)
|
||||
{
|
||||
Debug.Assert(npTicket.Platform == Platform.Vita);
|
||||
}
|
||||
|
||||
#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