summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-10-26 23:11:18 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-10-26 23:11:18 +0000
commitd6af28739747099f98f541d1b76ba501882e113c (patch)
treeb6ad8d89d0ef96dd4cea37dd89aad8d3fa345179 /apps/main.c
parentf026c0fc826149a3c88d462cca02b69ef5690c30 (diff)
downloadrockbox-d6af28739747099f98f541d1b76ba501882e113c.tar.gz
rockbox-d6af28739747099f98f541d1b76ba501882e113c.zip
Implement as genuine a set_irq_level function for the sim as possible. The yield added earlier is still nescessary since other threads won't run anyway while viewing the database screen on either sim or target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15321 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 366fed9585..d75bb726cf 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -113,6 +113,10 @@
113 113
114#include "cuesheet.h" 114#include "cuesheet.h"
115 115
116#ifdef SIMULATOR
117#include "system-sdl.h"
118#endif
119
116/*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */ 120/*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */
117 121
118const char appsversion[]=APPSVERSION; 122const char appsversion[]=APPSVERSION;
@@ -267,6 +271,7 @@ static void init(void)
267{ 271{
268 init_threads(); 272 init_threads();
269 buffer_init(); 273 buffer_init();
274 set_irq_level(0);
270 lcd_init(); 275 lcd_init();
271#ifdef HAVE_REMOTE_LCD 276#ifdef HAVE_REMOTE_LCD
272 lcd_remote_init(); 277 lcd_remote_init();