Add P* serials for PlayStation (fixes #187)

This commit is contained in:
Matt Nadareski
2020-01-27 22:38:07 -08:00
parent 04f5a7ea8d
commit a7af0d0d7b

View File

@@ -2020,6 +2020,28 @@ namespace DICUI.Utilities
}
}
// Special cases
else if (exeName.StartsWith("PAPX"))
{
region = Region.Japan;
}
else if (exeName.StartsWith("PABX"))
{
// Region appears entirely random
}
else if (exeName.StartsWith("PCBX"))
{
region = Region.Japan;
}
else if (exeName.StartsWith("PDBX"))
{
// Single disc known, Japan
}
else if (exeName.StartsWith("PEBX"))
{
// Single disc known, Europe
}
// Now that we have the EXE name, try to get the fileinfo for it
string exePath = Path.Combine(drivePath, exeName);
if (!File.Exists(exePath))