mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-03 02:28:39 +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
|
#nullable enable
|
||||||
using System;
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
@ -145,6 +146,11 @@ public class NPTicket
|
||||||
_ => Platform.Unknown,
|
_ => Platform.Unknown,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (npTicket.GameVersion == GameVersion.LittleBigPlanetVita)
|
||||||
|
{
|
||||||
|
Debug.Assert(npTicket.Platform == Platform.Vita);
|
||||||
|
}
|
||||||
|
|
||||||
#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