mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Fix cpu_thread pause
This commit is contained in:
parent
98d96fd649
commit
8590b66b4b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue