mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2026-10-21 15:01:04 -05:00
Fix dynamic_function detection
This commit is contained in:
@@ -238,7 +238,7 @@ void FunctionPatcherRestoreFunctions(function_replacement_data_t *replacements,
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool isDynamicFunction(uint32_t physicalAddress) {
|
bool isDynamicFunction(uint32_t physicalAddress) {
|
||||||
if ((physicalAddress & 0x80000000) == 0x80000000) {
|
if ((physicalAddress & 0x80000000) == 0x80000000 && (physicalAddress & 0xFF000000) != 0xFF000000) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user