Added arrow character
This commit is contained in:
parent
3b6dfdee78
commit
7bfedd75e7
|
@ -94,5 +94,6 @@
|
|||
"172": "|",
|
||||
"173": "}",
|
||||
"174": "~",
|
||||
"175": "\\"
|
||||
"175": "\\",
|
||||
"189": "➨"
|
||||
}
|
|
@ -82,6 +82,7 @@
|
|||
"80": " ",
|
||||
"81": "を",
|
||||
"82": "ん",
|
||||
"93": "➨",
|
||||
"96": "ァ",
|
||||
"97": "ア",
|
||||
"98": "ィ",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
byte decode_character(byte chr)
|
||||
{
|
||||
int c = chr - 0x50;
|
||||
if ((c < 0) || ((c >= 0x60) && (c < 0x64)) || (c >= 0x6D))
|
||||
if ((c < 0) || ((c >= 0x60) && (c < 0x64)) || (c >= 0x6E))
|
||||
c = QUESTION_MARK;
|
||||
|
||||
return c;
|
||||
|
@ -53,6 +53,13 @@ byte print_character(byte chr, int x, int y, int font, int foreground)
|
|||
return 8;
|
||||
}
|
||||
|
||||
// 0x6D is an arrow ->
|
||||
else if (chr == 0x6D)
|
||||
{
|
||||
print_special_character(0x9D, x, y);
|
||||
return 8;
|
||||
}
|
||||
|
||||
return print_character_with_callback(chr, x, y, font, foreground, vram, &get_tile_number_with_offset, TRUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue