mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 04:07:08 +00: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:
parent
5ea935f4bf
commit
2650ddae75
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user