mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-04 07:00:51 +00:00
better fix
This commit is contained in:
parent
3d20b8d7b0
commit
f941b09909
@ -526,7 +526,7 @@ bool SavedataParam::Load(SceUtilitySavedataParam *param, const std::string &save
|
||||
|
||||
if(DecryptSave(decryptMode, data_base, &saveSize, &align_len, ((param->key[0] != 0)?cryptKey:0)) == 0)
|
||||
{
|
||||
if (Memory::IsValidAddress(u32(data_)) && Memory::IsValidAddress(u32(data_base)))
|
||||
if (param->dataBuf.IsValid())
|
||||
memcpy(data_, data_base, saveSize);
|
||||
saveDone = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user