mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-29 14:04:14 +01:00
Improve menu for when CPak is not inserted.
This commit is contained in:
parent
c101dc2376
commit
d038effad8
@ -57,6 +57,7 @@ static void draw (menu_t *menu, surface_t *d) {
|
||||
|
||||
// TODO: Backup from other ports, restore from SD, and/or Repair functions.
|
||||
// Bonus would be to handle individual per game entries!
|
||||
if (accessory_is_cpak[0]) {
|
||||
component_main_text_draw(
|
||||
ALIGN_LEFT, VALIGN_TOP,
|
||||
"\n"
|
||||
@ -67,6 +68,16 @@ static void draw (menu_t *menu, surface_t *d) {
|
||||
cpak_info.free_space,
|
||||
format_entries_info(cpak_info.entries)
|
||||
);
|
||||
}
|
||||
else {
|
||||
component_main_text_draw(
|
||||
ALIGN_LEFT, VALIGN_TOP,
|
||||
"\n"
|
||||
"\n"
|
||||
"Controller Pak (1).\n"
|
||||
"Not inserted.\n"
|
||||
);
|
||||
}
|
||||
|
||||
if (accessory_is_cpak[0]) {
|
||||
component_actions_bar_text_draw(
|
||||
|
Loading…
Reference in New Issue
Block a user