diff --git a/rpcs3/Emu/Cell/Modules/StaticHLE.cpp b/rpcs3/Emu/Cell/Modules/StaticHLE.cpp index 478446375c..82f0318813 100644 --- a/rpcs3/Emu/Cell/Modules/StaticHLE.cpp +++ b/rpcs3/Emu/Cell/Modules/StaticHLE.cpp @@ -21,7 +21,7 @@ std::vector> shle_patterns_list { "2B850007409D00B07C6923785520077E2F800000409E00ACE8030000E9440000", "68", "EF18", "0158", "sys_libc", "memcmp" }, }; -statichle_handler::statichle_handler() +statichle_handler::statichle_handler(int) { load_patterns(); } diff --git a/rpcs3/Emu/Cell/Modules/StaticHLE.h b/rpcs3/Emu/Cell/Modules/StaticHLE.h index 6efca51515..075b31c713 100644 --- a/rpcs3/Emu/Cell/Modules/StaticHLE.h +++ b/rpcs3/Emu/Cell/Modules/StaticHLE.h @@ -20,7 +20,7 @@ struct shle_pattern class statichle_handler { public: - statichle_handler(); + statichle_handler(int); ~statichle_handler(); bool load_patterns(); diff --git a/rpcs3/Emu/Cell/PPUModule.cpp b/rpcs3/Emu/Cell/PPUModule.cpp index 335f0a89e8..7f13c4b553 100644 --- a/rpcs3/Emu/Cell/PPUModule.cpp +++ b/rpcs3/Emu/Cell/PPUModule.cpp @@ -1151,7 +1151,7 @@ void ppu_load_exec(const ppu_exec_object& elf) // Static HLE patching if (g_cfg.core.hook_functions) { - auto shle = g_fxo->init(); + auto shle = g_fxo->init(0); for (u32 i = _main->segs[0].addr; i < (_main->segs[0].addr + _main->segs[0].size); i += 4) {