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 /apps | |
parent | fdaacd5ec6433d1cde41a4d541771933dbacf906 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-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 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); |
380 | MENUITEM_FUNCTION(show_runtime_item, ID2P(LANG_RUNNING_TIME), | 380 | MENUITEM_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 | ||
384 | MENUITEM_FUNCTION(debug_menu_item, ID2P(LANG_DEBUG), | 382 | MENUITEM_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 |
387 | MENUITEM_FUNCTION(simulate_usb_item, ID2P(LANG_USB), | 385 | MENUITEM_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 | ||
395 | MAKE_MENU(info_menu, ID2P(LANG_INFO), 0, bitmap_icons_6x8[Icon_Questionmark], | 393 | MAKE_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 |