mirror of
https://github.com/Ultra-NX/UltraNX.git
synced 2025-09-20 07:26:15 +00:00
42 lines
914 B
YAML
42 lines
914 B
YAML
# Marvel Ultimate Alliance 3: The Black Order 4.0.1
|
|
# BID: E853C44FDF18B88F
|
|
# Credits to Hazerou for finding offsets for FPS lock and speed
|
|
|
|
unsafeCheck: true
|
|
|
|
MASTER_WRITE:
|
|
# Redirect reading DR GPU time factor to MAIN + 0x4FC0E00
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0x470E80
|
|
instructions: [
|
|
[adrp, x9, 0x4fc0000],
|
|
[ldr, s2, [x9, 0xe00]]
|
|
]
|
|
# Default value (= 0.5 / FPS)
|
|
-
|
|
type: bytes
|
|
main_offset: 0x4FC0E00
|
|
value_type: float
|
|
value: 0.0166666666
|
|
ALL_FPS:
|
|
# Internal Vsync (default value)
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0x45A7410]
|
|
value_type: int32
|
|
value: [VSYNC_TARGET, VSYNC_TARGET]
|
|
# Game Speed = FPS
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0x45A71F0]
|
|
value_type: float
|
|
value: FPS_TARGET
|
|
# DR GPU time factor
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0x4FC0E00]
|
|
value_type: float
|
|
value: "0.5 / FPS_TARGET"
|
|
|