UltraNX/SaltySD/plugins/FPSLocker/patches/010060700AC50000/E853C44FDF18B88F.yaml

41 lines
900 B
YAML
Raw Normal View History

2023-10-25 11:42:26 +00:00
# Marvel Ultimate Alliance 3: The Black Order 4.0.1
# BID: E853C44FDF18B88F
2023-11-11 05:17:40 +00:00
# Credits to Hazerou for finding offsets for FPS lock and speed
2023-10-25 11:42:26 +00:00
unsafeCheck: true
2023-11-11 05:17:40 +00:00
MASTER_WRITE:
# Redirect reading DR GPU time factor to MAIN + 0x4FC0E00
-
type: bytes
main_offset: 0x470E80
value_type: uint32
value:
- 0x90025A89
- 0xBD4E0122
# Default value (= 0.5 / FPS)
-
type: bytes
main_offset: 0x4FC0E00
value_type: float
value: 0.0166666666
2024-07-02 09:50:28 +00:00
ALL_FPS:
2023-10-25 11:42:26 +00:00
# Internal Vsync (default value)
-
2024-07-02 09:50:28 +00:00
type: evaluate_write
2023-10-25 11:42:26 +00:00
address: [MAIN, 0x45A7410]
value_type: int32
2024-07-02 09:50:28 +00:00
value: [VSYNC_TARGET, VSYNC_TARGET]
2023-10-25 11:42:26 +00:00
# Game Speed = FPS
-
2024-07-02 09:50:28 +00:00
type: evaluate_write
2023-10-25 11:42:26 +00:00
address: [MAIN, 0x45A71F0]
value_type: float
2024-07-02 09:50:28 +00:00
value: FPS_TARGET
2023-11-11 05:17:40 +00:00
# DR GPU time factor
-
2024-07-02 09:50:28 +00:00
type: evaluate_write
2023-11-11 05:17:40 +00:00
address: [MAIN, 0x4FC0E00]
value_type: float
2024-07-02 09:50:28 +00:00
value: "0.5 / FPS_TARGET"