UltraNX/SaltySD/plugins/FPSLocker/patches/0100BF500207C000/E380EB35262B4F9C.yaml
2024-07-02 12:50:28 +03:00

35 lines
733 B
YAML

# Bloodstained: Ritual of the Night 1.50
# BID: E380EB35262B4F9C
unsafeCheck: true
MASTER_WRITE:
# Disable double buffer
-
type: bytes
main_offset: 0xB06BD54
value_type: int8
value: 0x53
ALL_FPS:
# r.VSync
-
type: write
address: [MAIN, 0xCC0BCA8, 0]
value_type: int32
value: [0, 0]
# r.DynamicRes.FrameTimeBudget (1000/FPS) cutted to 2 decimals
-
type: evaluate_write
address: [MAIN, 0xD43BE90, 0]
value_type: float
value: ["TruncDec(FRAMETIME_TARGET, 2)", "TruncDec(FRAMETIME_TARGET, 2)"]
# t.MaxFPS
-
type: evaluate_write
address: [MAIN, 0xD462F10, 0]
value_type: float
value: [FPS_LOCK_TARGET, FPS_LOCK_TARGET]
-
type: block
what: timing