From 7bad8f3348fd36c430d91aa8d7f723b1b4885cfb Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 1 Sep 2022 19:15:29 +0300 Subject: [PATCH] Savestates/SPU: Minor fixup after fb01ed55 --- rpcs3/Emu/Cell/SPUThread.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/Cell/SPUThread.cpp b/rpcs3/Emu/Cell/SPUThread.cpp index 45424d8479..46a029d33f 100644 --- a/rpcs3/Emu/Cell/SPUThread.cpp +++ b/rpcs3/Emu/Cell/SPUThread.cpp @@ -4458,7 +4458,9 @@ bool spu_thread::set_ch_value(u32 ch, u32 value) if (res == CELL_EAGAIN) { + // Restore mailboxes state ch_out_mbox.set_value(data); + ch_in_mbox.try_pop(data); return false; } @@ -4529,7 +4531,9 @@ bool spu_thread::set_ch_value(u32 ch, u32 value) if (res == CELL_EAGAIN) { + // Restore mailboxes state ch_out_mbox.set_value(data); + ch_in_mbox.try_pop(data); return false; }