mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-03 23:30:16 +01: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…
Reference in a new issue