mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
CPU: use unsigned (u8) priority in suspend_all
This commit is contained in:
parent
8a50880613
commit
bc61835d97
5 changed files with 13 additions and 13 deletions
|
|
@ -629,7 +629,7 @@ namespace vm
|
|||
auto& res = vm::reservation_acquire(addr, 1);
|
||||
auto* ptr = vm::get_super_ptr(addr & -128);
|
||||
|
||||
cpu_thread::suspend_all(get_current_cpu_thread(), {ptr, ptr + 64, &res}, [&]
|
||||
cpu_thread::suspend_all<+1>(get_current_cpu_thread(), {ptr, ptr + 64, &res}, [&]
|
||||
{
|
||||
if (func())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue