mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Use g_fxo for statichle_handler
This commit is contained in:
parent
84e44d3372
commit
ebdb0781fa
@ -1151,7 +1151,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
|
|||||||
// Static HLE patching
|
// Static HLE patching
|
||||||
if (g_cfg.core.hook_functions)
|
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)
|
for (u32 i = _main->segs[0].addr; i < (_main->segs[0].addr + _main->segs[0].size); i += 4)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user