diff options
| author | Steve Bavin <pondlife@pondlife.me> | 2007-03-02 17:08:44 +0000 |
|---|---|---|
| committer | Steve Bavin <pondlife@pondlife.me> | 2007-03-02 17:08:44 +0000 |
| commit | e618becf6a4facc689b6f9a880b55c8eb8479f06 (patch) | |
| tree | 5de0eaa76943a2ce7c46b1aaa66186399909921c | |
| parent | fdaacd5ec6433d1cde41a4d541771933dbacf906 (diff) | |
| download | rockbox-e618becf6a4facc689b6f9a880b55c8eb8479f06.zip rockbox-e618becf6a4facc689b6f9a880b55c8eb8479f06.tar.gz rockbox-e618becf6a4facc689b6f9a880b55c8eb8479f06.tar.bz2 rockbox-e618becf6a4facc689b6f9a880b55c8eb8479f06.tar.xz | |
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.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index d8b4718..cdcd81c 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), (menu_function)show_credits, NULL, NOICON); MENUITEM_FUNCTION(show_runtime_item, ID2P(LANG_RUNNING_TIME), (menu_function)view_runtime, NULL, NOICON); - -#ifndef SIMULATOR MENUITEM_FUNCTION(debug_menu_item, ID2P(LANG_DEBUG), (menu_function)debug_menu, NULL, NOICON); -#else +#ifdef SIMULATOR MENUITEM_FUNCTION(simulate_usb_item, ID2P(LANG_USB), (menu_function)simulate_usb, NULL, NOICON); #ifdef ROCKBOX_HAS_LOGF @@ -394,11 +392,9 @@ MENUITEM_FUNCTION(logfdump_item, "logfdump",(int (*)(void)) logfdump, NULL, NOIC MAKE_MENU(info_menu, ID2P(LANG_INFO), 0, bitmap_icons_6x8[Icon_Questionmark], &show_info_item, &show_credits_item, &show_runtime_item, - &sleep_timer_call, -#ifndef SIMULATOR - &debug_menu_item -#else - &simulate_usb_item + &sleep_timer_call, &debug_menu_item +#ifdef SIMULATOR + ,&simulate_usb_item #ifdef ROCKBOX_HAS_LOGF ,&logfdisplay_item, &logfdump_item #endif |