summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-17 19:52:59 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-17 19:52:59 +0000
commit71d73fd470e339adff65aff0db6a44d1d6418b31 (patch)
tree74f8d82b2eb72dd229c33b925b37976327901aaf /apps/debug_menu.c
parent7e211ff9d14aa732d1f54271f8a46ffc2e1b6342 (diff)
downloadrockbox-71d73fd470e339adff65aff0db6a44d1d6418b31.zip
rockbox-71d73fd470e339adff65aff0db6a44d1d6418b31.tar.gz
rockbox-71d73fd470e339adff65aff0db6a44d1d6418b31.tar.bz2
rockbox-71d73fd470e339adff65aff0db6a44d1d6418b31.tar.xz
Remove sim_tasks from the sdl application build.
This unfortunately removes the screendump feature, but usually there are better desktop apps for that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31011 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 809644b..79a0752 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1771,7 +1771,7 @@ static bool dbg_fm_radio(void)
#endif /* CONFIG_TUNER */
#endif /* !SIMULATOR */
-#ifdef HAVE_LCD_BITMAP
+#if defined(HAVE_LCD_BITMAP) && !defined(APPLICATION)
extern bool do_screendump_instead_of_usb;
static bool dbg_screendump(void)
@@ -2057,8 +2057,10 @@ static const struct the_menu_item menuitems[] = {
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
{ "View battery", view_battery },
#endif
+#ifndef APPLICATION
{ "Screendump", dbg_screendump },
#endif
+#endif
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
{ "View HW info", dbg_hw_info },
#endif