2025-12-02 18:33:48 +03:00

40 lines
848 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# トライン4ザ・ナイトメア プリンス 1.0.3
# BID: B70F06EAC87FA2AF
# REF: 00 00 00 00 00 00 41 40, its xref
DECLARATIONS:
-
type: variable
name: dr_target_max
value_type: double
default_value: 34
evaluate: "1.02 * FRAMETIME_TARGET"
-
type: variable
name: dr_target_min
value_type: double
default_value: 33
evaluate: "0.99 * FRAMETIME_TARGET"
MASTER_WRITE:
# Allow changing dynamic resolution timings
# Max
-
type: asm_a64
main_offset: 0x16DC3B8
instructions: [
[adrp, x8, $dr_target_max],
[ldr, d2, [x8, $dr_target_max]]
]
# Min
-
type: asm_a64
main_offset: 0x16DC404
instructions: [
[adrp, x10, $dr_target_min]
]
-
type: asm_a64
main_offset: 0x16DC418
instructions: [
[ldr, d4, [x10, $dr_target_min]]
]