mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 20:16:54 +01:00
Whitespace cleanup, dfx menus
This commit is contained in:
parent
8da0b00534
commit
861f885609
@ -93,8 +93,8 @@ void gui_handle_events (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const char *main_menu_messages[] = {
|
static const char *main_menu_messages[] = {
|
||||||
/*02*/ "File",
|
/*02*/ "Floppy",
|
||||||
/*03*/ "^|Insert|Start",
|
/*03*/ "^|df0|df1|df2|df3",
|
||||||
/*04*/ "States",
|
/*04*/ "States",
|
||||||
/*05*/ "^|Load|Save|Delete",
|
/*05*/ "^|Load|Save|Delete",
|
||||||
/*06*/ "Keyboard",
|
/*06*/ "Keyboard",
|
||||||
@ -116,7 +116,7 @@ void gui_display(int shortcut)
|
|||||||
int submenus[3];
|
int submenus[3];
|
||||||
int opt;
|
int opt;
|
||||||
|
|
||||||
printf("Initing gui with %p\n", screen);
|
printf("Initing gui with %d\n", shortcut);
|
||||||
printf("Al-mibb: Gui is display!\n");
|
printf("Al-mibb: Gui is display!\n");
|
||||||
|
|
||||||
if (!is_inited)
|
if (!is_inited)
|
||||||
@ -125,6 +125,8 @@ void gui_display(int shortcut)
|
|||||||
is_inited = 1;
|
is_inited = 1;
|
||||||
}
|
}
|
||||||
opt = menu_select_title("Main menu", main_menu_messages, submenus);
|
opt = menu_select_title("Main menu", main_menu_messages, submenus);
|
||||||
|
if (opt == 12)
|
||||||
|
uae_quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
void gui_message (const char *format,...)
|
void gui_message (const char *format,...)
|
||||||
|
Loading…
Reference in New Issue
Block a user