mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-11 18:50:55 +00:00
sys_process: Implement exitspawn error checking
This commit is contained in:
parent
10820fa135
commit
9134388f94
1 changed files with 8 additions and 1 deletions
|
@ -359,7 +359,14 @@ void _sys_process_exit2(ppu_thread& ppu, s32 status, vm::ptr<sys_exit2_param> ar
|
||||||
}
|
}
|
||||||
|
|
||||||
Emu.SetForceBoot(true);
|
Emu.SetForceBoot(true);
|
||||||
Emu.BootGame(path, "", true);
|
|
||||||
|
auto res = Emu.BootGame(path, "", true);
|
||||||
|
|
||||||
|
if (res != game_boot_result::no_errors)
|
||||||
|
{
|
||||||
|
sys_process.fatal("Failed to boot from exitspawn! (path=\"%s\", error=%s)", path, res);
|
||||||
|
Emu.Stop();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
ppu.state += cpu_flag::dbg_global_stop;
|
ppu.state += cpu_flag::dbg_global_stop;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue