mirror of https://github.com/RPCS3/rpcs3.git
Ensure frozen emulation for special executables inspection modes
This commit is contained in:
parent
bd66dfedc9
commit
df080fbc53
|
@ -1289,6 +1289,11 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
{
|
{
|
||||||
ppu_exec.set_error(elf_error::header_type);
|
ppu_exec.set_error(elf_error::header_type);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Preserve emulation state for OVL excutable
|
||||||
|
Pause(true);
|
||||||
|
}
|
||||||
|
|
||||||
if (ppu_exec != elf_error::ok)
|
if (ppu_exec != elf_error::ok)
|
||||||
{
|
{
|
||||||
|
@ -1306,6 +1311,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
GetCallbacks().on_ready();
|
GetCallbacks().on_ready();
|
||||||
g_fxo->init(false);
|
g_fxo->init(false);
|
||||||
ppu_load_prx(ppu_prx, m_path);
|
ppu_load_prx(ppu_prx, m_path);
|
||||||
|
Pause(true);
|
||||||
}
|
}
|
||||||
else if (spu_exec.open(elf_file) == elf_error::ok)
|
else if (spu_exec.open(elf_file) == elf_error::ok)
|
||||||
{
|
{
|
||||||
|
@ -1313,6 +1319,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
GetCallbacks().on_ready();
|
GetCallbacks().on_ready();
|
||||||
g_fxo->init(false);
|
g_fxo->init(false);
|
||||||
spu_load_exec(spu_exec);
|
spu_load_exec(spu_exec);
|
||||||
|
Pause(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue