mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
sys_sm: Implemented sys_sm_shutdown() (#13048)
This commit is contained in:
parent
6f306121a6
commit
ab3c8268f0
4 changed files with 47 additions and 3 deletions
|
|
@ -402,6 +402,13 @@ void _sys_process_exit2(ppu_thread& ppu, s32 status, vm::ptr<sys_exit2_param> ar
|
|||
|
||||
// TODO: set prio, flags
|
||||
|
||||
lv2_exitspawn(ppu, argv, envp, data);
|
||||
}
|
||||
|
||||
void lv2_exitspawn(ppu_thread& ppu, std::vector<std::string>& argv, std::vector<std::string>& envp, std::vector<u8>& data)
|
||||
{
|
||||
ppu.state += cpu_flag::wait;
|
||||
|
||||
Emu.CallFromMainThread([argv = std::move(argv), envp = std::move(envp), data = std::move(data)]() mutable
|
||||
{
|
||||
sys_process.success("Process finished -> %s", argv[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue