Fix dynamic_function detection

This commit is contained in:
Maschell 2022-01-31 16:12:51 +01:00
parent fc3eea16fb
commit 2e5e3d1d2f

View File

@ -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;