Use the correct ID when creating game configs from the pause screen

This commit is contained in:
Henrik Rydgård committed 2025-09-04 11:34:55 +02:00
1 parent 14016f84df
commit f89c169f8a
4 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -168,8 +168,8 @@ bool LoadParamSFOFromPBP(FileLoader *fileLoader) {
bool regionCheck = region != 'A' && region != 'E' && region != 'H' && region != 'I' && region != 'J' && region != 'K' && region != 'U' && region != 'X';
bool systemVerCheck = !systemVer.empty() && systemVer[0] >= '5';
if ((formatCheck || regionCheck || discTotalCheck || systemVerCheck) && !discID.empty()) {
// This is NOT a homebrew, so we set the ID (so it won't get set later).
// This is backwards and weird.
// This is NOT a homebrew, so we set the ID. Otherwise it'll later be generated
// on the first access. This is kinda backwards and weird.
g_paramSFO.SetValue("DISC_ID", discID, (int)discID.size());
std::string ver = paramSFO.GetValueString("DISC_VERSION");
if (ver.empty())