summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-02-20 17:13:08 +0000
committerJens Arnold <amiconn@rockbox.org>2009-02-20 17:13:08 +0000
commit3e67e3b1f06488f67d2ebbf844ff40893cc16bf0 (patch)
treea066891b9a91f8eaf84b2eb0501ce0a09000b765 /apps
parent2c3517d67a5387f422c7fcccf3c70f43a386b729 (diff)
downloadrockbox-3e67e3b1f06488f67d2ebbf844ff40893cc16bf0.tar.gz
rockbox-3e67e3b1f06488f67d2ebbf844ff40893cc16bf0.zip
Add a rockbox kernel thread for simulator specific tasks, and use that for calling the screendump function(s). Fixes screendump in simulators for backlight-less targets (Ondio), and reduces mixing of unrelated functionality a bit (screendump was called from backlight thread, triggered by a sim-only system wide event).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20065 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 24a89eca56..20cec9bbfa 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -112,6 +112,7 @@
112#include "cuesheet.h" 112#include "cuesheet.h"
113 113
114#ifdef SIMULATOR 114#ifdef SIMULATOR
115#include "sim_tasks.h"
115#include "system-sdl.h" 116#include "system-sdl.h"
116#endif 117#endif
117 118
@@ -294,6 +295,7 @@ static void init(void)
294 show_logo(); 295 show_logo();
295 button_init(); 296 button_init();
296 backlight_init(); 297 backlight_init();
298 sim_tasks_init();
297 lang_init(); 299 lang_init();
298#ifdef DEBUG 300#ifdef DEBUG
299 debug_init(); 301 debug_init();