mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
Add some asserts for g_fxo->init<>
This commit is contained in:
parent
68c58281e5
commit
f3b9d64df7
3 changed files with 15 additions and 12 deletions
|
@ -1646,7 +1646,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool is_disc_patch,
|
|||
{
|
||||
m_state = system_state::ready;
|
||||
GetCallbacks().on_ready();
|
||||
g_fxo->init<main_ppu_module>();
|
||||
ensure(g_fxo->init<main_ppu_module>());
|
||||
vm::init();
|
||||
m_force_boot = false;
|
||||
|
||||
|
@ -2345,7 +2345,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool is_disc_patch,
|
|||
sys_log.error("Booting HG category outside of HDD0!");
|
||||
}
|
||||
|
||||
const auto _main = g_fxo->init<main_ppu_module>();
|
||||
const auto _main = ensure(g_fxo->init<main_ppu_module>());
|
||||
|
||||
if (ppu_load_exec(ppu_exec, false, m_path, DeserialManager()))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue