mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
Use vm::passive_lock for SPU threads
This commit is contained in:
parent
e88508b679
commit
d392379c7a
8 changed files with 76 additions and 51 deletions
|
@ -133,7 +133,11 @@ bool cpu_thread::check_state()
|
|||
|
||||
if (!test(state, cpu_state_pause))
|
||||
{
|
||||
if (cpu_flag_memory) vm::passive_lock(*this);
|
||||
if (cpu_flag_memory)
|
||||
{
|
||||
cpu_mem();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
else if (!cpu_sleep_called && test(state, cpu_flag::suspend))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue