summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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,
155 } 155 }
156} 156}
157 157
158#ifndef SIMULATOR
158extern char iramcopy[]; 159extern char iramcopy[];
159extern char iramstart[]; 160extern char iramstart[];
160extern char iramend[]; 161extern char iramend[];
162#endif
161 163
162/* this is the plugin entry point */ 164/* this is the plugin entry point */
163enum plugin_status plugin_start(struct plugin_api* api, void* file) 165enum 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)
171 otherwise you will get lovely "I04: IllInstr" errors... :-) */ 173 otherwise you will get lovely "I04: IllInstr" errors... :-) */
172 rb = api; 174 rb = api;
173 175
176#ifndef SIMULATOR
174 rb->memcpy(iramstart, iramcopy, iramend-iramstart); 177 rb->memcpy(iramstart, iramcopy, iramend-iramstart);
178#endif
175 179
176 /* This function sets up the buffers and reads the file into RAM */ 180 /* This function sets up the buffers and reads the file into RAM */
177 181