From 61f43d78dff98ea5cfad3c6dfccd1eae77ecce2c Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 14 May 2020 18:07:56 +0300 Subject: [PATCH] SPU: Minor cleanup of exception in stop_and_signal --- rpcs3/Emu/Cell/SPUThread.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rpcs3/Emu/Cell/SPUThread.cpp b/rpcs3/Emu/Cell/SPUThread.cpp index 41600be028..0ef2866cfd 100644 --- a/rpcs3/Emu/Cell/SPUThread.cpp +++ b/rpcs3/Emu/Cell/SPUThread.cpp @@ -3226,14 +3226,7 @@ bool spu_thread::stop_and_signal(u32 code) } } - if (!ch_out_mbox.get_count()) - { - fmt::throw_exception("Unknown STOP code: 0x%x (Out_MBox is empty)" HERE, code); - } - else - { - fmt::throw_exception("Unknown STOP code: 0x%x (Out_MBox=0x%x)" HERE, code, ch_out_mbox.get_value()); - } + fmt::throw_exception("Unknown STOP code: 0x%x (Out_MBox=%s)" HERE, code, ch_out_mbox); } void spu_thread::halt()