forked from masagrator/FPSLocker-Warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathB2D4462B71536EC6.yaml
51 lines (49 loc) · 1.33 KB
/
B2D4462B71536EC6.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Momotaro Dentetsu: Showa, Heisei, Reiwa mo Teiban! Asia Edition 1.0.1
# BID: B2D4462B71536EC6
unsafeCheck: true
MASTER_WRITE:
# Remove double buffer
-
type: bytes
main_offset: 0x1B630
value_type: uint32
value: 0x52800061
-
type: bytes
main_offset: 0x5774C
value_type: uint32
value: 0x52800061
ALL_FPS:
# REF: 20 59 60 BC
# Internal FPS Lock
-
type: evaluate_write
address: [MAIN, 0xFF7090]
value_type: float
value: [FPS_TARGET, "60 / FPS_TARGET"]
# Blocking game to max 60 FPS because setting game speed ratio below 1 causes glitches
-
type: evaluate_compare
compare_address: [MAIN, 0xFF7090]
compare_type: ">"
compare_value_type: float
compare_value: 60
address: [MAIN, 0xFF7090]
value_type: float
value: 60
-
type: evaluate_compare
compare_address: [MAIN, 0xFF7090]
compare_type: "=="
compare_value_type: float
compare_value: 60
address: [MAIN, 0xFF7094]
value_type: float
value: 1
# Unknown value that is set based on FPS Lock function argument, 0 = 60 FPS, 1 = 30 FPS, 2 = 20 FPS, 3 = 15 FPS
# According to IDA is not used at all, but writing this anyway
-
type: evaluate_write
address: [MAIN, 0x10D8028]
value_type: uint32
value: "VSYNC_TARGET - 1"