Emergency hotfix #1, Patched hook corruption
This commit is contained in:
parent
bc07a4df5b
commit
fee3d05b79
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -351,7 +351,7 @@ static void initMods()
|
|||
if (((ppc >> 24) & 0xFF) > 0x47 && ((ppc >> 24) & 0xFF) < 0x4C) {
|
||||
Memory::Direct::branch((void*)fillInField, (void*)returnAddress, ppc & 1);
|
||||
} else {
|
||||
Memory::Direct::write(fillInField, *gpModInfo.codehandlerHook);
|
||||
Memory::Direct::write(fillInField, ppc);
|
||||
}
|
||||
|
||||
/*Write branch back to the hook address + 4*/
|
||||
|
|
Reference in a new issue