mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +01:00
19 lines
643 B
Plaintext
19 lines
643 B
Plaintext
[Slender60fpsVer1]
|
|
moduleMatches = 0x3F3FA50A
|
|
|
|
# Code Cave
|
|
|
|
CodeCaveSize = 0x14 # = Last used instruction + 0x04 (4xINSTRUCTIONS in HEX)
|
|
|
|
# Set 60fps
|
|
|
|
_60fps = 0x00000000
|
|
|
|
0x00000000 = lwz r31,0xc(r1) # Replace the hook
|
|
0x00000004 = lis r8,0x1002 # Load upper half of address to register
|
|
0x00000008 = lis r9,0x42F0 # Load upper half of .float 120.0 into register
|
|
0x0000000C = stw r9,0x6F70(r8) # Store floatstored in register to 0x10026F70
|
|
0x00000010 = blr # return
|
|
|
|
0X026E1E88 = bla _60fps # Hook
|