Fix a savedata access violation

This commit is contained in:
Raul Tambre 2015-10-20 12:34:54 +03:00
parent d1b5dcfdad
commit 6f8544281a

View file

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