mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 01:29:23 +00:00
sys_rwlock_wlock: Fix typo
This commit is contained in:
parent
b49b4c8096
commit
3e4cbf67f6
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ error_code sys_rwlock_wlock(ppu_thread& ppu, u32 rw_lock_id, u64 timeout)
|
||||||
{
|
{
|
||||||
rwlock->owner.atomic_op([&](s64& owner)
|
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
|
owner &= -2; // Clear wait bit
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue