UltraNX/SaltySD/plugins/FPSLocker/patches/010029B0118E8000/799D1061182C1302.yaml
2024-07-02 12:50:28 +03:00

29 lines
708 B
YAML

# Need For Speed Hot Pursuit Remastered 1.0.3
# BID: 799D1061182C1302
# Thanks to theboy181 for finding instruction responsible for calculating frame time which I used to find where is FPS target stored
unsafeCheck: true
ALL_FPS:
# FPS Target
-
type: evaluate_write
address: [MAIN, 0xED96A8, 0x30]
value_type: uint64
value: "(FRAMETIME_TARGET / 2) * 19200"
# FPS 2D Game Speed Target
-
type: evaluate_write
address: [MAIN, 0xEFFC60, 0x30]
value_type: float
value: "0.5 / FPS_TARGET"
# FPS 3D Game Speed Target
-
type: evaluate_write
address: [MAIN, 0xEFFC60, 0x50]
value_type: float
value: "0.5 / FPS_TARGET"
-
type: block
what: timing