summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index 9665ce8896..5fdb66a420 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -125,19 +125,16 @@ void show_credits(void)
125void main_menu(void) 125void main_menu(void)
126{ 126{
127 int m; 127 int m;
128 enum {
129 Games, Screensavers, Version, Gen_Settings, Sound_Settings,
130 };
131 128
132 /* main menu */ 129 /* main menu */
133 struct menu_items items[] = { 130 struct menu_items items[] = {
134 { Sound_Settings, "Sound Settings", sound_menu }, 131 { "Sound Settings", sound_menu },
135 { Gen_Settings, "General Settings", settings_menu }, 132 { "General Settings", settings_menu },
136#ifdef HAVE_LCD_BITMAP 133#ifdef HAVE_LCD_BITMAP
137 { Games, "Games", games_menu }, 134 { "Games", games_menu },
138 { Screensavers, "Screensavers", screensavers_menu }, 135 { "Screensavers", screensavers_menu },
139#endif 136#endif
140 { Version, "Version", show_credits }, 137 { "Version", show_credits },
141 }; 138 };
142 139
143 m=menu_init( items, sizeof items / sizeof(struct menu_items) ); 140 m=menu_init( items, sizeof items / sizeof(struct menu_items) );