From 182259e4a51208d64da4179248f77b4e6af475e5 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 21 May 2018 20:26:37 +0300 Subject: [PATCH] cellSaveData fix --- rpcs3/Emu/Cell/Modules/cellSaveData.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp index 85ca496213..58e925960c 100644 --- a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp @@ -653,6 +653,11 @@ static NEVER_INLINE s32 savedata_op(ppu_thread& ppu, u32 operation, u32 version, return CELL_SAVEDATA_ERROR_PARAM; } } + + if (result->result != CELL_SAVEDATA_CBRESULT_OK_NEXT) + { + funcFile = vm::null; + } }