cemu_graphic_packs/Mods/FatalFrame_60FPS/patches.txt
2019-07-11 22:40:26 -07:00

20 lines
461 B
Plaintext

[FatalF60fpsVer1]
moduleMatches = 0xE93B31F6
# Code Cave
CodeCaveSize = 0x14 # = Last used instruction + 0x04 (4xINSTRUCTIONS in HEX)
# Set 60fps
_60fps = 0x00000000
0x00000000 = lwz r12,0x4c(r27) # Replace the hook
0x00000004 = lis r8,0x1066
0x00000008 = li r9,0x003c
0x0000000c = stw r9,-0x12D4(r8)
0x00000010 = blr # return
0x0233c5a8 = bla _60fps # Hook