summaryrefslogtreecommitdiff
path: root/apps/menus/main_menu.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-10 14:10:50 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-10 14:10:50 +0000
commitff2a93f723bdcd20b8dd6b0e635d683ae029fd49 (patch)
tree8b7081a60970581566fd53d916d1348ae7ae6fd9 /apps/menus/main_menu.c
parent871b9d55016dead20d275dc2c3510787417013f1 (diff)
downloadrockbox-ff2a93f723bdcd20b8dd6b0e635d683ae029fd49.tar.gz
rockbox-ff2a93f723bdcd20b8dd6b0e635d683ae029fd49.zip
Remove the 'USB' menu item from the sim system menu, press the 'u' key to display the USB screen instead, will break binary lng files and voice files for the sims only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r--apps/menus/main_menu.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 9f6d9a527c..f01e8dc23a 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -125,10 +125,6 @@ static bool show_credits(void)
125 return false; 125 return false;
126} 126}
127 127
128#ifdef SIMULATOR
129extern bool simulate_usb(void);
130#endif
131
132#ifdef HAVE_LCD_CHARCELLS 128#ifdef HAVE_LCD_CHARCELLS
133#define SIZE_FMT "%s%s" 129#define SIZE_FMT "%s%s"
134#else 130#else
@@ -399,18 +395,10 @@ MENUITEM_FUNCTION(show_runtime_item, 0, ID2P(LANG_RUNNING_TIME),
399 (menu_function)view_runtime, NULL, NULL, Icon_NOICON); 395 (menu_function)view_runtime, NULL, NULL, Icon_NOICON);
400MENUITEM_FUNCTION(debug_menu_item, 0, ID2P(LANG_DEBUG), 396MENUITEM_FUNCTION(debug_menu_item, 0, ID2P(LANG_DEBUG),
401 (menu_function)debug_menu, NULL, NULL, Icon_NOICON); 397 (menu_function)debug_menu, NULL, NULL, Icon_NOICON);
402#ifdef SIMULATOR
403MENUITEM_FUNCTION(simulate_usb_item, 0, ID2P(LANG_USB),
404 (menu_function)simulate_usb, NULL, NULL, Icon_NOICON);
405#endif
406 398
407MAKE_MENU(info_menu, ID2P(LANG_SYSTEM), 0, Icon_Questionmark, 399MAKE_MENU(info_menu, ID2P(LANG_SYSTEM), 0, Icon_Questionmark,
408 &show_info_item, &show_credits_item, &show_runtime_item, 400 &show_info_item, &show_credits_item, &show_runtime_item,
409 &sleep_timer_call, &debug_menu_item 401 &sleep_timer_call, &debug_menu_item);
410#ifdef SIMULATOR
411 ,&simulate_usb_item
412#endif
413 );
414/* INFO MENU */ 402/* INFO MENU */
415/***********************************/ 403/***********************************/
416 404