summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-02-23 00:52:30 +0000
committerJens Arnold <amiconn@rockbox.org>2005-02-23 00:52:30 +0000
commit94b64cc09e9af1fce9da150f00c61f33944ca8f2 (patch)
tree4851e6abb36929ab90bace31a4b042d462fe4d96 /apps
parent78724269a591d75cb11439a64302557be2b51f3c (diff)
downloadrockbox-94b64cc09e9af1fce9da150f00c61f33944ca8f2.tar.gz
rockbox-94b64cc09e9af1fce9da150f00c61f33944ca8f2.zip
There is no iram for simulator plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6043 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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