UltraNX/SaltySD/plugins/FPSLocker/patches/0100DCA0064A6000/79E5950FFA85ACF6.yaml
2024-07-02 12:50:28 +03:00

30 lines
565 B
YAML

# Luigi's Mansion 3 1.4.0
# BID: 79E5950FFA85ACF6
# Credits for finding FPS Lock goes to theboy181
unsafeCheck: true
MASTER_WRITE:
# Redirect reading FPS Lock to MAIN+0x1D164DC
-
type: bytes
main_offset: 0x7A3E9C
value_type: uint32
value: 0xF000AB8C
# Default value
-
type: bytes
main_offset: 0x1D164DC
value_type: float
value: 33.33333333
ALL_FPS:
# FPS Lock in ms
-
type: evaluate_write
address: [MAIN, 0x1D164DC]
value_type: float
value: "1000 / FPS_LOCK_TARGET"
-
type: block
what: timing