UltraNX/SaltySD/plugins/FPSLocker/patches/0100670014482001/2B59D6C677258A2A.yaml
2024-07-02 12:50:28 +03:00

36 lines
837 B
YAML

# Assassin's Creed: The Ezio Collection - Assassin's Creed Brotherhood 1.3
# BID: 2B59D6C677258A2A
# Scenes exclusively 2D are tied to framerate, so at 60 FPS they are 2x faster.
unsafeCheck: true
MASTER_WRITE:
# Patch code to multiply last frametime by float scale factor stored in MAIN+0x4276B00
# To match it to Dynamic Resolution calculations
-
type: bytes
main_offset: 0xBDBE44
value_type: uint32
value:
- 0xF001B4C8
- 0xBD4B0100
-
type: bytes
main_offset: 0xBDBE58
value_type: uint32
value:
- 0x1E200900
- 0xD503201F
# Write default dynamic resolution timing factor
-
type: bytes
main_offset: 0x4276B00
value_type: float
value: 1
ALL_FPS:
-
type: evaluate_write
address: [MAIN, 0x4276B00]
value_type: float
value: "FPS_TARGET / 30"