Widen main file select window

This commit is contained in:
jeffman 2019-08-05 21:51:57 -04:00
parent 478485ccfe
commit 58a112c5c4
3 changed files with 14 additions and 5 deletions

View File

@ -149,7 +149,7 @@ void format_file_string(FILE_SELECT *file)
// Re-position
format_file_cc(file, &index, CUSTOMCC_SET_X);
file->formatted_str[index++] = 80;
file->formatted_str[index++] = 76;
// Level
char levelStr[] = "Level: ";

Binary file not shown.

View File

@ -969,18 +969,27 @@ nop
// File select hacks
//==============================================================================
.org 0x86DB070
.incbin "data/m2-fileselect-template.bin"
// Main file select window resize
.org 0x82B79BC :: dw 0x1C // new window width
.org 0x8003998 :: mov r0,1 // new window x
.org 0x8003A04 :: mov r1,1
.org 0x8003B40 :: mov r0,0x10 // new cursor x
.org 0x86DB070 :: .incbin "data/m2-fileselect-template.bin"
.org 0x86D9808
.incbin "data/m2-fileselect-tileset.bin"
// Formatting
.org 0x80021E8 :: bl format_file_string
.org 0x8002284 :: bl format_file_string
// Printing
.org 0x80038CC :: mov r2,0x40 :: bl print_file_string
.org 0x80038DE :: mov r2,0x40 :: bl print_file_string
.org 0x80038F2 :: mov r2,0x40 :: bl print_file_string
.org 0x80021E8 :: bl format_file_string
.org 0x8002284 :: bl format_file_string
// Bump file select cursor up by 3 pixels
.org 0x8003844 :: add r0,r5,1
//==============================================================================
// Data files