Merge pull request #1265 from tambry/savedatafix

Fix a save data access violation
This commit is contained in:
Hykem 2015-10-20 15:56:35 +01:00
commit b3b07c8248

View File

@ -308,10 +308,13 @@ never_inline s32 savedata_op(PPUThread& ppu, u32 operation, u32 version, vm::cpt
} }
if (selected == -1) if (selected == -1)
{
if (fixedSet->dirName)
{ {
save_entry.dirName = fixedSet->dirName.get_ptr(); save_entry.dirName = fixedSet->dirName.get_ptr();
} }
} }
}
if (selected >= 0) if (selected >= 0)
{ {