diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-26 23:11:18 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-26 23:11:18 +0000 |
commit | d6af28739747099f98f541d1b76ba501882e113c (patch) | |
tree | b6ad8d89d0ef96dd4cea37dd89aad8d3fa345179 /apps/main.c | |
parent | f026c0fc826149a3c88d462cca02b69ef5690c30 (diff) |
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.c | 5 |
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 @@ #include "cuesheet.h" +#ifdef SIMULATOR +#include "system-sdl.h" +#endif + /*#define AUTOROCK*/ /* define this to check for "autostart.rock" on boot */ const char appsversion[]=APPSVERSION; @@ -267,6 +271,7 @@ static void init(void) { init_threads(); buffer_init(); + set_irq_level(0); lcd_init(); #ifdef HAVE_REMOTE_LCD lcd_remote_init(); |