From 629206c0dc7d93f11ab6ce45c523268af4ba260c Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 11 Mar 2015 14:27:29 +0300 Subject: [PATCH] Bugfix --- rpcs3/Emu/SysCalls/lv2/sys_lwcond.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/SysCalls/lv2/sys_lwcond.cpp b/rpcs3/Emu/SysCalls/lv2/sys_lwcond.cpp index 4297628b77..77f98c2bbc 100644 --- a/rpcs3/Emu/SysCalls/lv2/sys_lwcond.cpp +++ b/rpcs3/Emu/SysCalls/lv2/sys_lwcond.cpp @@ -225,7 +225,7 @@ s32 _sys_lwcond_queue_wait(u32 lwcond_id, u32 lwmutex_id, u64 timeout) cond->cv.wait_for(lv2_lock, std::chrono::milliseconds(1)); } - if (cond->signaled1) + if (cond->signaled1 && mutex->signaled) { mutex->signaled--; cond->signaled1--;