Update GameLocation.cs

This commit is contained in:
Kurt
2023-02-27 07:11:00 -08:00
parent 61ff87eec6
commit 0dbcad184e

View File

@@ -89,6 +89,7 @@ private static GameVersion GetGameFromPath(string romfs, string? exefs)
private const int FILECOUNT_LA_110 = 19_095; // Ver. 1.1.0 (Daybreak)
private const int FILECOUNT_SV = 24;
private const int FILECOUNT_SV_101 = 25; // Ver. 1.0.1 (Day 1 Patch)
private const int FILECOUNT_SV_120 = 26; // Ver. 1.2.0 (Paradox x2)
private static GameVersion GetGameFromCount(int fileCount, string romfs, string? exefs)
{
@@ -145,7 +146,8 @@ private static GameVersion GetGameFromCount(int fileCount, string romfs, string?
case FILECOUNT_SV:
case FILECOUNT_SV_101:
{
case FILECOUNT_SV_120:
{
if (exefs == null)
return GameVersion.SV;