summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/flac2wav.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/flac2wav.c b/apps/plugins/flac2wav.c
index 74e69e7..f68f320 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 */