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

View file

@ -1083,7 +1083,6 @@ void spu_recompiler_base::dispatch(spu_thread& spu, void*, u8* rip)
if (!func) if (!func)
{ {
spu_log.fatal("[0x%05x] Compilation failed.", spu.pc); spu_log.fatal("[0x%05x] Compilation failed.", spu.pc);
Emu.Pause();
return; return;
} }
@ -1181,7 +1180,6 @@ void spu_recompiler_base::old_interpreter(spu_thread& spu, void* ls, u8* rip) tr
} }
catch (const std::exception& e) catch (const std::exception& e)
{ {
Emu.Pause();
spu_log.fatal("%s thrown: %s", typeid(e).name(), e.what()); spu_log.fatal("%s thrown: %s", typeid(e).name(), e.what());
spu_log.notice("\n%s", spu.dump()); spu_log.notice("\n%s", spu.dump());
} }

View file

@ -1537,7 +1537,7 @@ error_code sys_fs_fcntl(ppu_thread& ppu, u32 fd, u32 op, vm::ptr<void> _arg, u32
} }
} }
sys_fs.fatal("sys_fs_fcntl(): Unknown operation 0x%08x (fd=%d, arg=*0x%x, size=0x%x)", op, fd, _arg, _size); sys_fs.error("sys_fs_fcntl(): Unknown operation 0x%08x (fd=%d, arg=*0x%x, size=0x%x)", op, fd, _arg, _size);
return CELL_OK; return CELL_OK;
} }

View file

@ -249,7 +249,6 @@ namespace rsx
catch (const std::exception& e) catch (const std::exception& e)
{ {
rsx_log.fatal("%s thrown: %s", typeid(e).name(), e.what()); rsx_log.fatal("%s thrown: %s", typeid(e).name(), e.what());
Emu.Pause();
} }
} }
} }

View file

@ -460,7 +460,6 @@ namespace rsx
catch (const std::exception& e) catch (const std::exception& e)
{ {
rsx_log.fatal("%s thrown: %s", typeid(e).name(), e.what()); rsx_log.fatal("%s thrown: %s", typeid(e).name(), e.what());
Emu.Pause();
} }
on_exit(); on_exit();