mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Savedata: Write only one secure entry.
Before, we were filling all the entries when the first file was saved, a
regression from 1976be4. This caused issues in games that use a single
savedata folder for multiple secure files, such as Valkyria Chronicles 3.
This commit is contained in:
1 parent
5ea935f4bf
commit
2650ddae75
1 file changed
+1
@@ -471,6 +471,7 @@ int SavedataParam::Save(SceUtilitySavedataParam* param, const std::string &saveD
|
||||
|
||||
snprintf(entry->filename, sizeof(entry->filename), "%s", saveFilename.c_str());
|
||||
memcpy(entry->hash, cryptedHash, 16);
|
||||
break;
|
||||
}
|
||||
}
|
||||
sfoFile.SetValue("SAVEDATA_FILE_LIST", (u8 *)updatedList, FILE_LIST_TOTAL_SIZE, (int)FILE_LIST_TOTAL_SIZE);
|
||||
|
||||
Reference in new issue
Block a user