fox32rom: Use '%' instead of '\' for format strings

I forgot how printf() worked :p
This commit is contained in:
ry755 2022-02-22 13:52:29 -08:00 committed by Ry
parent 2bdf6cb583
commit 702cf11558
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ draw_format_str_generic:
draw_format_str_generic_loop:
cmp.8 [r0], 0
ifz jmp draw_format_str_generic_end
cmp.8 [r0], '\'
cmp.8 [r0], '%'
ifz jmp draw_format_str_generic_found_format_specifier
; if this is not a format specifier or the end of the string, print the character

View File

@ -245,7 +245,7 @@ const OVERLAY_29_POSITION_Y: 0x80137186 ; 2 bytes
const OVERLAY_29_FRAMEBUFFER_PTR: 0x8013718A ; 4 bytes
const OVERLAY_29_FRAMEBUFFER: 0x8013718E
startup_str: data.str "fox32 - ROM version \u.\u.\u - insert boot disk" data.8 0
startup_str: data.str "fox32 - ROM version %u.%u.%u - insert boot disk" data.8 0
menu_items_root:
data.8 1 ; number of menus