mirror of
https://github.com/RPCS3/rpcs3
synced 2024-11-02 11:45:30 +00:00
Another fixup after #7826
This commit is contained in:
parent
017ef5a94e
commit
537f175f52
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue