UltraNX/SaltySD/plugins/FPSLocker/patches/0100670014482002/0AE4D1770B196094.yaml
2024-07-02 12:50:28 +03:00

29 lines
729 B
YAML

# Assassin's Creed: The Ezio Collection - Assassin's Creed Revelations 1.3
# BID: 0AE4D1770B196094
# Scenes exclusively 2D are tied to framerate, so at 60 FPS they are 2x faster.
unsafeCheck: true
MASTER_WRITE:
# Patch code to divide last frametime by float scale factor stored in MAIN+0x4422800
# To match it to Dynamic Resolution calculations
-
type: bytes
main_offset: 0xAD51A0
value_type: uint32
value:
- 0xB001CA68
- 0xBD480101
# Write default dynamic resolution timing factor
-
type: bytes
main_offset: 0x4422800
value_type: float
value: 1000
ALL_FPS:
-
type: evaluate_write
address: [MAIN, 0x4422800]
value_type: float
value: "(FPS_TARGET / 30) * 1000"