From 11f57f259c9143aec2aadaa41fa10f0f7f7995ef Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 24 Apr 2021 15:02:46 +0200 Subject: [PATCH] cellSaveData: keep focus after confirmation cancel It was very annoying to be thrown to beginning of the list after cancelling the confirmation. --- rpcs3/Emu/Cell/Modules/cellSaveData.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp index ddf3f50319..748bc25f49 100644 --- a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp @@ -1053,6 +1053,10 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v if (g_last_user_response != CELL_MSGDIALOG_BUTTON_YES) { + if (selected >= 0) + { + focused = selected; + } continue; }