Log error about HG games booted outside of /dev_hdd0
This commit is contained in:
@@ -1706,6 +1706,11 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||||||
sys_log.notice("Elf path: %s", argv[0]);
|
sys_log.notice("Elf path: %s", argv[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!argv[0].starts_with("/dev_hdd0/game"sv) && m_cat == "HG"sv)
|
||||||
|
{
|
||||||
|
sys_log.error("Booting HG category outside of HDD0!");
|
||||||
|
}
|
||||||
|
|
||||||
g_fxo->init<ppu_module>();
|
g_fxo->init<ppu_module>();
|
||||||
g_fxo->init<id_manager::id_map<lv2_obj>>();
|
g_fxo->init<id_manager::id_map<lv2_obj>>();
|
||||||
g_fxo->init<id_manager::id_map<named_thread<ppu_thread>>>();
|
g_fxo->init<id_manager::id_map<named_thread<ppu_thread>>>();
|
||||||
|
|||||||
Reference in New Issue
Block a user