summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-19 20:14:19 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-19 20:14:19 +0000
commitb08e2acf452d9cb857e9578d93ea9ad2d14ca854 (patch)
treeeb378cbef13fa3c7a9e0238157296df81c23052e /apps
parent431e813532d9d690ea1b0cf4d1b9e98aa896d331 (diff)
downloadrockbox-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
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c6
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";
/* Codec thread. */
static struct event_queue codec_queue;
-static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)] __attribute__ ((section(".idata")));
+static long codec_stack[(DEFAULT_STACK_SIZE + 0x2500)/sizeof(long)]
+#ifndef SIMULATOR
+__attribute__ ((section(".idata")))
+#endif
+;
static const char codec_thread_name[] = "codec";
/* Is file buffer currently being refilled? */