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

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