summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-03-02 17:08:44 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-03-02 17:08:44 +0000
commite618becf6a4facc689b6f9a880b55c8eb8479f06 (patch)
tree5de0eaa76943a2ce7c46b1aaa66186399909921c
parentfdaacd5ec6433d1cde41a4d541771933dbacf906 (diff)
downloadrockbox-e618becf6a4facc689b6f9a880b55c8eb8479f06.tar.gz
rockbox-e618becf6a4facc689b6f9a880b55c8eb8479f06.zip
Include debug menu on simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12550 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/menus/main_menu.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index d8b471889e..cdcd81c4b5 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -379,11 +379,9 @@ MENUITEM_FUNCTION(show_credits_item, ID2P(LANG_VERSION),
379 (menu_function)show_credits, NULL, NOICON); 379 (menu_function)show_credits, NULL, NOICON);
380MENUITEM_FUNCTION(show_runtime_item, ID2P(LANG_RUNNING_TIME), 380MENUITEM_FUNCTION(show_runtime_item, ID2P(LANG_RUNNING_TIME),
381 (menu_function)view_runtime, NULL, NOICON); 381 (menu_function)view_runtime, NULL, NOICON);
382
383#ifndef SIMULATOR
384MENUITEM_FUNCTION(debug_menu_item, ID2P(LANG_DEBUG), 382MENUITEM_FUNCTION(debug_menu_item, ID2P(LANG_DEBUG),
385 (menu_function)debug_menu, NULL, NOICON); 383 (menu_function)debug_menu, NULL, NOICON);
386#else 384#ifdef SIMULATOR
387MENUITEM_FUNCTION(simulate_usb_item, ID2P(LANG_USB), 385MENUITEM_FUNCTION(simulate_usb_item, ID2P(LANG_USB),
388 (menu_function)simulate_usb, NULL, NOICON); 386 (menu_function)simulate_usb, NULL, NOICON);
389#ifdef ROCKBOX_HAS_LOGF 387#ifdef ROCKBOX_HAS_LOGF
@@ -394,11 +392,9 @@ MENUITEM_FUNCTION(logfdump_item, "logfdump",(int (*)(void)) logfdump, NULL, NOIC
394 392
395MAKE_MENU(info_menu, ID2P(LANG_INFO), 0, bitmap_icons_6x8[Icon_Questionmark], 393MAKE_MENU(info_menu, ID2P(LANG_INFO), 0, bitmap_icons_6x8[Icon_Questionmark],
396 &show_info_item, &show_credits_item, &show_runtime_item, 394 &show_info_item, &show_credits_item, &show_runtime_item,
397 &sleep_timer_call, 395 &sleep_timer_call, &debug_menu_item
398#ifndef SIMULATOR 396#ifdef SIMULATOR
399 &debug_menu_item 397 ,&simulate_usb_item
400#else
401 &simulate_usb_item
402#ifdef ROCKBOX_HAS_LOGF 398#ifdef ROCKBOX_HAS_LOGF
403 ,&logfdisplay_item, &logfdump_item 399 ,&logfdisplay_item, &logfdump_item
404#endif 400#endif