2025-09-05 17:12:01 +03:00

32 lines
763 B
YAML

# Assassin's Creed: The Ezio Collection - Assassin's Creed 2 1.3
# BID: 824B38A25986B2AB
# 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+0x3B4D800
# To match it to Dynamic Resolution calculations
-
type: asm_a64
main_offset: 0xB40638
instructions: [
[adrp, x9, 0x3b4d000],
[ldr, s0, [x9, 0x800]],
[fmul, s9, s8, s0],
[nop]
]
# Write default dynamic resolution timing factor
-
type: bytes
main_offset: 0x3B4D800
value_type: float
value: 1
ALL_FPS:
-
type: evaluate_write
address: [MAIN, 0x3B4D800]
value_type: float
value: "FPS_TARGET / 30"