From 6f6503ee32723ca0d6a30297e93e4ca9733baa4d Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 17 Jul 2021 21:09:59 +0300 Subject: [PATCH] cellSaveData: Fixup funcDone result check --- 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 bb757aba7e..11be05c692 100644 --- a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp @@ -1229,6 +1229,11 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v { cellSaveData.warning("savedata_op(): funcDone returned result=%d.", res); + if (res == CELL_SAVEDATA_CBRESULT_OK_LAST || res == CELL_SAVEDATA_CBRESULT_OK_LAST_NOCONFIRM) + { + return CELL_OK; + } + return display_callback_result_error_message(ppu, *result, errDialog); }