mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-02-21 12:17:15 +01:00
Update load_disk.c
Improve display
This commit is contained in:
parent
83d56f2d04
commit
881c1cbe5e
@ -78,22 +78,32 @@ static void draw (menu_t *menu, surface_t *d) {
|
|||||||
|
|
||||||
ui_components_main_text_draw(
|
ui_components_main_text_draw(
|
||||||
ALIGN_LEFT, VALIGN_TOP,
|
ALIGN_LEFT, VALIGN_TOP,
|
||||||
"\n"
|
"\n\n\n\n"
|
||||||
"\n"
|
"%s%s\n",
|
||||||
"\n"
|
menu->load.rom_path ? "Loaded ROM:\t" : "",
|
||||||
"\n"
|
menu->load.rom_path ? path_last_get(menu->load.rom_path) : ""
|
||||||
|
);
|
||||||
|
|
||||||
|
ui_components_main_text_draw(
|
||||||
|
ALIGN_LEFT, VALIGN_TOP,
|
||||||
|
"\n\n\n\n\n\n"
|
||||||
|
"Description:\n\t%s\n",
|
||||||
|
"None."
|
||||||
|
);
|
||||||
|
|
||||||
|
ui_components_main_text_draw(
|
||||||
|
ALIGN_LEFT, VALIGN_TOP,
|
||||||
|
"\n\n\n\n\n\n\n\n\n\n\n\n"
|
||||||
" Region:\t\t%s\n"
|
" Region:\t\t%s\n"
|
||||||
" Unique ID:\t%.4s\n"
|
" Unique ID:\t%.4s\n"
|
||||||
" Version:\t%hhu\n"
|
" Version:\t%hhu\n"
|
||||||
" Disk type:\t%d\n"
|
" Disk type:\t%d\n"
|
||||||
"\n"
|
"\n"
|
||||||
" %s%s",
|
,
|
||||||
format_disk_region(menu->load.disk_info.region),
|
format_disk_region(menu->load.disk_info.region),
|
||||||
menu->load.disk_info.id,
|
menu->load.disk_info.id,
|
||||||
menu->load.disk_info.version,
|
menu->load.disk_info.version,
|
||||||
menu->load.disk_info.disk_type,
|
menu->load.disk_info.disk_type
|
||||||
menu->load.rom_path ? "ROM:\t\t\t" : "",
|
|
||||||
menu->load.rom_path ? path_last_get(menu->load.rom_path) : ""
|
|
||||||
);
|
);
|
||||||
|
|
||||||
ui_components_actions_bar_text_draw(
|
ui_components_actions_bar_text_draw(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user