mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
sys_rwlock_wlock: Fix typo
This commit is contained in:
parent
b49b4c8096
commit
3e4cbf67f6
@ -350,7 +350,7 @@ error_code sys_rwlock_wlock(ppu_thread& ppu, u32 rw_lock_id, u64 timeout)
|
||||
{
|
||||
rwlock->owner.atomic_op([&](s64& owner)
|
||||
{
|
||||
owner -= -2 * static_cast<s64>(rwlock->rq.size()); // Add readers to value
|
||||
owner -= 2 * static_cast<s64>(rwlock->rq.size()); // Add readers to value
|
||||
owner &= -2; // Clear wait bit
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user