mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-10 10:40:28 +01:00
Fix sys_rwlock_wlock timeout event
This commit is contained in:
parent
afce3ee2ed
commit
1510505b30
|
|
@ -371,6 +371,10 @@ error_code sys_rwlock_wlock(ppu_thread& ppu, u32 rw_lock_id, u64 timeout)
|
|||
|
||||
lv2_obj::awake_all();
|
||||
}
|
||||
else if (rwlock->rq.empty() && rwlock->wq.empty())
|
||||
{
|
||||
rwlock->owner &= -2;
|
||||
}
|
||||
|
||||
ppu.gpr[3] = CELL_ETIMEDOUT;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue