From 94b64cc09e9af1fce9da150f00c61f33944ca8f2 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 23 Feb 2005 00:52:30 +0000 Subject: There is no iram for simulator plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6043 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/flac2wav.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/plugins/flac2wav.c b/apps/plugins/flac2wav.c index 74e69e75ac..f68f3204f4 100644 --- a/apps/plugins/flac2wav.c +++ b/apps/plugins/flac2wav.c @@ -155,9 +155,11 @@ FLAC__bool flac_eof_handler (const FLAC__SeekableStreamDecoder *decoder, } } +#ifndef SIMULATOR extern char iramcopy[]; extern char iramstart[]; extern char iramend[]; +#endif /* this is the plugin entry point */ enum plugin_status plugin_start(struct plugin_api* api, void* file) @@ -171,7 +173,9 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) otherwise you will get lovely "I04: IllInstr" errors... :-) */ rb = api; +#ifndef SIMULATOR rb->memcpy(iramstart, iramcopy, iramend-iramstart); +#endif /* This function sets up the buffers and reads the file into RAM */ -- cgit v1.2.3