From 6f8544281a85433c5d633b1985a69c3e4a6aa293 Mon Sep 17 00:00:00 2001 From: Raul Tambre Date: Tue, 20 Oct 2015 12:34:54 +0300 Subject: [PATCH] Fix a savedata access violation --- rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp b/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp index 65f5de02b3..6ea0c2a25e 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellSaveData.cpp @@ -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(); + } } }