From c7fa4e237520b0398460417f5f015bf453b03e6a Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 1 Mar 2020 22:40:48 +0300 Subject: [PATCH] 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 c6c120696c..467ce9c2d1 100644 --- a/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_ppu_thread.cpp @@ -22,7 +22,7 @@ struct ppu_thread_cleaner { if (u32 id = old_id.exchange(new_id)) [[likely]] { - if (!idm::remove>(old_id)) [[unlikely]] + if (!idm::remove>(id)) [[unlikely]] { sys_ppu_thread.fatal("Failed to remove detached thread 0x%x", id); }