mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-01 16:13:23 +00:00
Fix cpu_thread pause
This commit is contained in:
parent
98d96fd649
commit
8590b66b4b
@ -123,7 +123,7 @@ bool cpu_thread::check_state()
|
||||
if (cpu_flag_memory) vm::passive_lock(*this);
|
||||
break;
|
||||
}
|
||||
else if (!cpu_sleep_called)
|
||||
else if (!cpu_sleep_called && test(state, cpu_flag::suspend))
|
||||
{
|
||||
cpu_sleep();
|
||||
cpu_sleep_called = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user