1
0
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:
Eladash 2019-10-25 15:59:17 +03:00 committed by Nekotekina
parent b49b4c8096
commit 3e4cbf67f6

View File

@ -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
});