1
0
Fork 0

Emergency hotfix #1, Patched hook corruption

This commit is contained in:
JoshuaMKW 2020-08-26 03:58:25 -05:00
parent bc07a4df5b
commit fee3d05b79
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -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*/