mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00: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