diff --git a/source/function_patcher.cpp b/source/function_patcher.cpp index f3f8703..e09d92b 100644 --- a/source/function_patcher.cpp +++ b/source/function_patcher.cpp @@ -238,7 +238,7 @@ void FunctionPatcherRestoreFunctions(function_replacement_data_t *replacements, } bool isDynamicFunction(uint32_t physicalAddress) { - if ((physicalAddress & 0x80000000) == 0x80000000) { + if ((physicalAddress & 0x80000000) == 0x80000000 && (physicalAddress & 0xFF000000) != 0xFF000000) { return true; } return false;