Widen main file select window
This commit is contained in:
parent
478485ccfe
commit
58a112c5c4
|
@ -149,7 +149,7 @@ void format_file_string(FILE_SELECT *file)
|
||||||
|
|
||||||
// Re-position
|
// Re-position
|
||||||
format_file_cc(file, &index, CUSTOMCC_SET_X);
|
format_file_cc(file, &index, CUSTOMCC_SET_X);
|
||||||
file->formatted_str[index++] = 80;
|
file->formatted_str[index++] = 76;
|
||||||
|
|
||||||
// Level
|
// Level
|
||||||
char levelStr[] = "Level: ";
|
char levelStr[] = "Level: ";
|
||||||
|
|
Binary file not shown.
|
@ -969,18 +969,27 @@ nop
|
||||||
// File select hacks
|
// File select hacks
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
.org 0x86DB070
|
// Main file select window resize
|
||||||
.incbin "data/m2-fileselect-template.bin"
|
.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
|
.org 0x86D9808
|
||||||
.incbin "data/m2-fileselect-tileset.bin"
|
.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 0x80038CC :: mov r2,0x40 :: bl print_file_string
|
||||||
.org 0x80038DE :: 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 0x80038F2 :: mov r2,0x40 :: bl print_file_string
|
||||||
|
|
||||||
.org 0x80021E8 :: bl format_file_string
|
// Bump file select cursor up by 3 pixels
|
||||||
.org 0x8002284 :: bl format_file_string
|
.org 0x8003844 :: add r0,r5,1
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// Data files
|
// Data files
|
||||||
|
|
Loading…
Reference in New Issue