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 /apps | |
parent | 431e813532d9d690ea1b0cf4d1b9e98aa896d331 (diff) |
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.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"; /* 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? */ |