From b08e2acf452d9cb857e9578d93ea9ad2d14ca854 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 19 Jun 2005 20:14:19 +0000 Subject: Fixed the dreaded iRiver simulator crash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6767 a1c6a512-1295-4272-9138-f99709370657 --- apps/playback.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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? */ -- cgit v1.2.3