diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-19 20:14:19 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-19 20:14:19 +0000 |
commit | b08e2acf452d9cb857e9578d93ea9ad2d14ca854 (patch) | |
tree | eb378cbef13fa3c7a9e0238157296df81c23052e | |
parent | 431e813532d9d690ea1b0cf4d1b9e98aa896d331 (diff) | |
download | rockbox-b08e2acf452d9cb857e9578d93ea9ad2d14ca854.tar.gz rockbox-b08e2acf452d9cb857e9578d93ea9ad2d14ca854.zip |
Fixed the dreaded iRiver simulator crash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6767 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/playback.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index c6128ca007..1068796c83 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -108,7 +108,11 @@ static const char audio_thread_name[] = "audio"; | |||
108 | 108 | ||
109 | /* Codec thread. */ | 109 | /* Codec thread. */ |
110 | static struct event_queue codec_queue; | 110 | static struct event_queue codec_queue; |
111 | static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] __attribute__ ((section(".idata"))); | 111 | static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] |
112 | #ifndef SIMULATOR | ||
113 | __attribute__ ((section(".idata"))) | ||
114 | #endif | ||
115 | ; | ||
112 | static const char codec_thread_name[] = "codec"; | 116 | static const char codec_thread_name[] = "codec"; |
113 | 117 | ||
114 | /* Is file buffer currently being refilled? */ | 118 | /* Is file buffer currently being refilled? */ |