sceNp: silence some errors

This commit is contained in:
Megamouse 2024-01-30 20:53:23 +01:00
parent 566a8ac5ac
commit 3f2c34edd2
3 changed files with 7 additions and 1 deletions

View File

@ -1571,7 +1571,7 @@ error_code sceNpBasicRecvMessageCustom(ppu_thread& ppu, u16 mainType, u32 recvOp
if (result != CELL_OK)
{
return SCE_NP_BASIC_ERROR_CANCEL;
return not_an_error(SCE_NP_BASIC_ERROR_CANCEL);
}
const auto opt_msg = nph.get_message(chosen_msg_id);

View File

@ -262,6 +262,9 @@ namespace rsx
case selection_code::no:
accept_or_deny(SCE_NP_BASIC_MESSAGE_ACTION_DENY);
break;
case selection_code::canceled:
rsx_log.notice("recvmessage dialog was canceled");
break;
default:
rsx_log.error("recvmessage dialog exited with error: %d", return_code);
break;

View File

@ -242,6 +242,9 @@ namespace rsx
}
break;
}
case selection_code::canceled:
rsx_log.notice("sendmessage dialog was canceled");
break;
default:
rsx_log.error("sendmessage dialog exited with error: %d", return_code);
break;