-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNotifications_IncreaseFontSize_290b5.pbp
60 lines (56 loc) · 1.14 KB
/
Notifications_IncreaseFontSize_290b5.pbp
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
52
53
54
55
56
57
58
59
60
; This patch increases "Large" font in notifications.
#ver 290
; Font names:
"RESOURCE_ID_GOTHIC_14" 00 {
proc gothic_14
}
"RESOURCE_ID_GOTHIC_14_BOLD" 00 {
proc gothic_14_b
}
"RESOURCE_ID_GOTHIC_18" 00 {
proc gothic_18
}
"RESOURCE_ID_GOTHIC_18_BOLD" 00 {
proc gothic_18_b
}
"RESOURCE_ID_GOTHIC_24" 00 {
proc gothic_24
}
"RESOURCE_ID_GOTHIC_24_BOLD" 00 {
proc gothic_24_b
}
"RESOURCE_ID_GOTHIC_28" 00 {
proc gothic_28
}
"RESOURCE_ID_GOTHIC_28_BOLD" 00 {
proc gothic_28_b
}
; near the end of settings_notifications_init? proc
01 23 15 22 84 f8 8c 36
@ c4 f8 90 96 c4 f8 94 86 c4 f8 98 76 c4 f8 9c 06
{
; was:
; STR.W R9, [R4,notif_style_large.text_font]
; STR.W R8, [R4,notif_style_large.title_font]
; STR.W R7, [R4,notif_style_large.subtitle_font]
; STR.W R0, [R4,notif_style_large.topic_font]
NOP ;1
NOP
NOP ;2
NOP
NOP ;3
NOP
B.W my_code
global cont
}
{
proc my_code
; loaded fonts:
; R9: 18; R8: 28b; R7: 28; R0: 24b
STR.W R7, [R4,0x690] ; text
STR.W R8, [R4,0x694] ; title
STR.W R7, [R4,0x698] ; subtitle
STR.W R8, [R4,0x69C] ; topic
B.W cont
; TODO: update R2 (0x15) and R3 (0x1) and R5 (0) if needed, for metadata changes
}