mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Some cleanup
This commit is contained in:
parent
faab4ed6db
commit
d1fff053c2
23 changed files with 278 additions and 850 deletions
|
|
@ -23,14 +23,16 @@ s32 sys_process_getppid()
|
|||
s32 sys_process_exit(s32 errorcode)
|
||||
{
|
||||
sc_p.Warning("sys_process_exit(%d)", errorcode);
|
||||
Emu.Pause(); // Emu.Stop() does crash
|
||||
Emu.Pause();
|
||||
LOG_SUCCESS(HLE, "Process finished");
|
||||
|
||||
if (Ini.HLEExitOnStop.GetValue())
|
||||
wxGetApp().CallAfter([]()
|
||||
{
|
||||
Ini.HLEExitOnStop.SetValue(false);
|
||||
// TODO: Find a way of calling Emu.Stop() and/or exiting RPCS3 (that is, TheApp->Exit()) without crashes
|
||||
}
|
||||
Emu.Stop();
|
||||
if (Ini.HLEExitOnStop.GetValue())
|
||||
{
|
||||
wxGetApp().Exit();
|
||||
}
|
||||
});
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue