mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
CHECK_EMU_STATUS removal
This commit is contained in:
parent
bf6854d121
commit
246b9f3182
16 changed files with 17 additions and 68 deletions
|
@ -46,9 +46,7 @@ void cpu_thread::on_task()
|
|||
// Check thread status
|
||||
while (!test(state & cpu_flag::exit))
|
||||
{
|
||||
CHECK_EMU_STATUS;
|
||||
|
||||
// check stop status
|
||||
// Check stop status
|
||||
if (!test(state & cpu_flag::stop))
|
||||
{
|
||||
try
|
||||
|
@ -92,14 +90,12 @@ bool cpu_thread::check_state()
|
|||
{
|
||||
while (true)
|
||||
{
|
||||
CHECK_EMU_STATUS; // check at least once
|
||||
|
||||
if (test(state & cpu_flag::exit))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!test(state & cpu_state_pause))
|
||||
if (!test(state & (cpu_state_pause + cpu_flag::dbg_global_stop)))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue