Use g_fxo for statichle_handler

This commit is contained in:
Nekotekina 2019-08-25 17:11:32 +03:00
parent 84e44d3372
commit ebdb0781fa
1 changed files with 1 additions and 1 deletions

View File

@ -1151,7 +1151,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
// Static HLE patching
if (g_cfg.core.hook_functions)
{
auto shle = fxm::get_always<statichle_handler>();
auto shle = g_fxo->init<statichle_handler>();
for (u32 i = _main->segs[0].addr; i < (_main->segs[0].addr + _main->segs[0].size); i += 4)
{