Fixup for Emu.Pause()

Remove some reduntant calls.
Don't pause on unknown sys_fs_fcntl operation.
This commit is contained in:
Nekotekina 2020-03-08 22:00:05 +03:00
parent 6268a2d384
commit 9dca2887d8
5 changed files with 1 additions and 7 deletions

View file

@ -315,7 +315,6 @@ void cpu_thread::operator()()
if (!g_cpu_array_sema.try_inc(sizeof(g_cpu_array_bits) * 8))
{
sys_log.fatal("Too many threads.");
Emu.Pause();
return;
}
@ -389,7 +388,6 @@ void cpu_thread::operator()()
}
catch (const std::exception& e)
{
Emu.Pause();
sys_log.fatal("%s thrown: %s", typeid(e).name(), e.what());
sys_log.notice("\n%s", dump());
break;