Dont spam syscalls stats if emu is paused

This commit is contained in:
Eladash 2020-03-21 11:45:34 +02:00 committed by Ivan
parent 49d8731c1c
commit 3a36b713ce

View File

@ -1022,6 +1022,12 @@ public:
while (thread_ctrl::state() != thread_state::aborting) while (thread_ctrl::state() != thread_state::aborting)
{ {
thread_ctrl::wait_for(10000'000); thread_ctrl::wait_for(10000'000);
if (Emu.IsPaused())
{
continue;
}
print_stats(); print_stats();
} }
} }