mirror of
https://github.com/Ultra-NX/UltraNX.git
synced 2025-12-13 18:33:55 +00:00
36 lines
844 B
YAML
36 lines
844 B
YAML
# みんなのGOLF WORLD 1.1.3
|
|
# BID: 734C4A6ED33AE189
|
|
# Changed frametime target value math formula because default one sucks at 60 FPS target
|
|
|
|
DECLARATIONS:
|
|
-
|
|
type: variable
|
|
name: dr_frametime_max
|
|
value_type: double
|
|
default_value: 40
|
|
evaluate: "0.9 * FRAMETIME_TARGET"
|
|
-
|
|
type: variable
|
|
name: dr_frametime_min
|
|
value_type: double
|
|
default_value: 33.3333333333
|
|
evaluate: "(0.9 * FRAMETIME_TARGET) - 6"
|
|
MASTER_WRITE:
|
|
# REF: DynamicResolution::Compute()
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0x3925998
|
|
instructions: [
|
|
[adrp, x10, $dr_frametime_max],
|
|
[ldr, d1, [x10, $dr_frametime_max]],
|
|
[nop]
|
|
]
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0x3925A6C
|
|
instructions: [
|
|
[adrp, x10, $dr_frametime_min],
|
|
[ldr, d1, [x10, $dr_frametime_min]],
|
|
[nop],
|
|
[nop]
|
|
] |