Fix fake game ID generation to work with scoped storage

This commit is contained in:
Henrik Rydgård committed 2024-01-23 01:06:56 +01:00
1 parent 796787dce5
commit 2e16fd3bcc
8 files changed
+18 -13

No files matched your search

+1 -1
View File
@@ -524,7 +524,7 @@ namespace SaveState
std::string discId = g_paramSFO.GetValueString("DISC_ID");
std::string discVer = g_paramSFO.GetValueString("DISC_VERSION");
if (discId.empty()) {
discId = g_paramSFO.GenerateFakeID();
discId = g_paramSFO.GenerateFakeID(Path());
discVer = "1.00";
}
return StringFromFormat("%s_%s", discId.c_str(), discVer.c_str());