mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Replace some uses of Emu.IsStopped()
Poll thread state instead.
This commit is contained in:
parent
9ae08946ac
commit
16dd72b3e3
7 changed files with 12 additions and 12 deletions
|
@ -134,7 +134,7 @@ void cpu_thread::operator()()
|
|||
g_cpu_suspend_lock.lock_unlock();
|
||||
|
||||
// Check thread status
|
||||
while (!(state & (cpu_flag::exit + cpu_flag::dbg_global_stop)) && !Emu.IsStopped())
|
||||
while (!(state & (cpu_flag::exit + cpu_flag::dbg_global_stop)) && thread_ctrl::state() != thread_state::aborting)
|
||||
{
|
||||
// Check stop status
|
||||
if (!(state & cpu_flag::stop))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue