Move sys_process_exit

This commit is contained in:
Nekotekina 2017-09-16 14:52:15 +03:00
parent 01ffaab3e0
commit 669b1385cc
5 changed files with 23 additions and 26 deletions

View file

@ -46,23 +46,6 @@ s32 sys_process_getppid()
return 0;
}
s32 sys_process_exit(ppu_thread& ppu, s32 status)
{
vm::temporary_unlock(ppu);
sys_process.warning("sys_process_exit(status=0x%x)", status);
Emu.CallAfter([]()
{
sys_process.success("Process finished");
Emu.Stop();
});
thread_ctrl::eternalize();
return CELL_OK;
}
template <typename T, typename Get>
u32 idm_get_count()
{