mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 10:09:32 +01:00
Use the correct ID when creating game configs from the pause screen
This commit is contained in:
1 parent
14016f84df
commit
f89c169f8a
4 files changed
+7
-3
No files matched your search
+2
-2
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user