mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2025-01-06 23:28:14 +01:00
Fix dynamic_function detection
This commit is contained in:
parent
fc3eea16fb
commit
2e5e3d1d2f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user