mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Move sys_process_exit
This commit is contained in:
parent
01ffaab3e0
commit
669b1385cc
5 changed files with 23 additions and 26 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue