From 365b2646565d3d5a5a95381be1850106ce91c673 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 30 Jul 2023 23:25:57 +0200 Subject: [PATCH] cellMsgDialogAbort: do not return CELL_MSGDIALOG_ERROR_DIALOG_NOT_OPENED --- rpcs3/Emu/Cell/Modules/cellMsgDialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellMsgDialog.cpp b/rpcs3/Emu/Cell/Modules/cellMsgDialog.cpp index 290c185e17..38e8179e4b 100644 --- a/rpcs3/Emu/Cell/Modules/cellMsgDialog.cpp +++ b/rpcs3/Emu/Cell/Modules/cellMsgDialog.cpp @@ -533,13 +533,15 @@ error_code cellMsgDialogAbort() sysutil_send_system_cmd(CELL_SYSUTIL_DRAWING_END, 0); return CELL_OK; } + + return CELL_OK; // Not CELL_MSGDIALOG_ERROR_DIALOG_NOT_OPENED, tested on HW. } const auto dlg = g_fxo->get().get(); if (!dlg) { - return CELL_MSGDIALOG_ERROR_DIALOG_NOT_OPENED; + return CELL_OK; // Not CELL_MSGDIALOG_ERROR_DIALOG_NOT_OPENED, tested on HW. } if (!dlg->state.compare_and_swap_test(MsgDialogState::Open, MsgDialogState::Abort))