Parcourir la source

title workaround

SBird1337 il y a 7 ans
Parent
révision
f964fd4f1c
3 fichiers modifiés avec 12 ajouts et 14 suppressions
  1. 1
    1
      charmap.txt
  2. 11
    1
      data/raw_defines.s
  3. 0
    12
      data/title_pal.s

+ 1
- 1
charmap.txt Voir le fichier

@@ -73,7 +73,7 @@ RIGHT_ARROW = 7C
73 73
 '?'         = AC
74 74
 '.'         = AD
75 75
 '-'         = AE
76
-'…'         = B0
76
+DOTS        = B0
77 77
 '“'         = B1
78 78
 '”'         = B2
79 79
 '‘'         = B3

+ 11
- 1
data/raw_defines.s Voir le fichier

@@ -14,6 +14,16 @@ evolutions:
14 14
 save_one:
15 15
     .word 0x03005008
16 16
 
17
+.align 2
17 18
 .global ts_pals
18 19
 ts_pals:
19
-    .include "data/title_pal.s"
20
+	.byte   0,  2, 69, 73,166, 89,120, 10,235, 77, 47, 42, 30,  7,228, 56
21
+	.byte 102, 81,134, 85,169, 77, 49, 42,219,  6,253,  6, 63,  3,237, 65
22
+	.byte 150, 34,230, 52,189,127,  0,  0,173,106,255,127, 73, 94,188,123
23
+	.byte   7, 86, 87,119,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
24
+	.byte   0,  0,136, 73,  7, 53,118,127,240,126, 43, 94,243, 36,191, 74
25
+	.byte 231, 24,223, 37, 59, 41,174,110,202,105,140, 45,222,123, 73, 65
26
+	.byte   0,  2,239, 57,  0,  0, 41, 33,189,127,198, 20,181, 86,132, 12
27
+	.byte  99,  8, 33,  4,231, 24,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
28
+	.byte   0,  0,174,110,240,126, 43, 94,140, 45,198, 20,136, 73,157, 22
29
+	.byte 231, 24,118,127,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0

+ 0
- 12
data/title_pal.s Voir le fichier

@@ -1,9 +1,3 @@
1
-/* Generated by BIN2S - please don't edit directly */
2
-	.section .rodata
3
-	.balign 4
4
-	.global pal_sth_bin_size
5
-	.global pal_sth_bin
6
-pal_sth_bin:
7 1
 	.byte   0,  2, 69, 73,166, 89,120, 10,235, 77, 47, 42, 30,  7,228, 56
8 2
 	.byte 102, 81,134, 85,169, 77, 49, 42,219,  6,253,  6, 63,  3,237, 65
9 3
 	.byte 150, 34,230, 52,189,127,  0,  0,173,106,255,127, 73, 94,188,123
@@ -14,9 +8,3 @@ pal_sth_bin:
14 8
 	.byte  99,  8, 33,  4,231, 24,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
15 9
 	.byte   0,  0,174,110,240,126, 43, 94,140, 45,198, 20,136, 73,157, 22
16 10
 	.byte 231, 24,118,127,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0
17
-
18
-	.global pal_sth_bin_end
19
-pal_sth_bin_end:
20
-
21
-	.align
22
-pal_sth_bin_size: .int 160