mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Another fixup after #7826
This commit is contained in:
parent
017ef5a94e
commit
537f175f52
@ -64,9 +64,9 @@ error_code _sys_lwmutex_destroy(ppu_thread& ppu, u32 lwmutex_id)
|
||||
}
|
||||
|
||||
// Wait for all lwcond waiters to quit
|
||||
if (const s32 old = mutex->lwcond_waiters; old & 0x7fff'ffff)
|
||||
if (const s32 old = mutex->lwcond_waiters; old != INT32_MIN)
|
||||
{
|
||||
if (old > 0)
|
||||
if (old >= 0)
|
||||
{
|
||||
// Sleep queue is no longer empty
|
||||
// Was set to positive value to announce it
|
||||
|
Loading…
Reference in New Issue
Block a user