UltraNX/SaltySD/plugins/FPSLocker/patches/010027400CDC6000/4979B200D53BB282.yaml

30 lines
728 B
YAML
Raw Normal View History

2023-10-25 11:42:26 +00:00
# Divinity Original Sin 2 1.0.10
# BID: 4979B200D53BB282
2023-12-08 22:57:58 +00:00
# Game is using double buffer, buffers are not allocated in loop.
2024-07-02 09:50:28 +00:00
# So it's not possible to get stable FPS lock between 30 and 60 without changing refresh rate.
2023-10-25 11:42:26 +00:00
unsafeCheck: true
MASTER_WRITE:
# Change location of GPU frametime double divider to MAIN+0x32C6D00
-
type: bytes
main_offset: 0x921768
value_type: uint32
value:
- 0xB0014D28
- 0xFD468101
# Default value
-
type: bytes
main_offset: 0x32C6D00
value_type: double
value: 1000000
2024-07-02 09:50:28 +00:00
ALL_FPS:
2023-10-25 11:42:26 +00:00
# GPU Frametime divider = (30/FPS) * 1000000
-
2024-07-02 09:50:28 +00:00
type: evaluate_write
2023-10-25 11:42:26 +00:00
address: [MAIN, 0x32C6D00]
value_type: double
2024-07-02 09:50:28 +00:00
value: "(30 / FPS_TARGET) * 1000000"