mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
Fix Summon Night 5,when there is a save,make new game would crash
This commit is contained in:
1 parent
b054f1d6e0
commit
6358f4ec62
1 file changed
+2
-1
@@ -526,7 +526,8 @@ bool SavedataParam::Load(SceUtilitySavedataParam *param, const std::string &save
|
||||
|
||||
if(DecryptSave(decryptMode, data_base, &saveSize, &align_len, ((param->key[0] != 0)?cryptKey:0)) == 0)
|
||||
{
|
||||
memcpy(data_, data_base, saveSize);
|
||||
if (Memory::IsValidAddress(u32(data_)))
|
||||
memcpy(data_, data_base, saveSize);
|
||||
saveDone = true;
|
||||
}
|
||||
delete[] data_base;
|
||||
|
||||
Reference in new issue
Block a user