From bd234a76685adad12ae4a067c5da16f390748f71 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 2 Mar 2020 10:35:39 +0300 Subject: [PATCH] sys_ppu: another fixup --- rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp b/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp index 467ce9c2d1..7320cebbc8 100644 --- a/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp @@ -18,7 +18,7 @@ struct ppu_thread_cleaner void clean(u32 new_id) { - if (old_id) [[likely]] + if (old_id || new_id) [[likely]] { if (u32 id = old_id.exchange(new_id)) [[likely]] {