mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
atomics.cpp: add support for waiting on 128-bit atomics
Complementarily. Also refactored to make waiting mask non-template arg.
This commit is contained in:
parent
13de773486
commit
c50233cc92
4 changed files with 60 additions and 7 deletions
|
@ -3060,7 +3060,7 @@ s64 spu_thread::get_ch_value(u32 ch)
|
|||
return -1;
|
||||
}
|
||||
|
||||
vm::reservation_notifier(raddr, 128).wait<UINT64_MAX & -128>(rtime, atomic_wait_timeout{100'000});
|
||||
vm::reservation_notifier(raddr, 128).wait(rtime, -128, atomic_wait_timeout{100'000});
|
||||
}
|
||||
|
||||
check_state();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue