diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-02-23 00:52:30 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-02-23 00:52:30 +0000 |
| commit | 94b64cc09e9af1fce9da150f00c61f33944ca8f2 (patch) | |
| tree | 4851e6abb36929ab90bace31a4b042d462fe4d96 /apps/plugins | |
| parent | 78724269a591d75cb11439a64302557be2b51f3c (diff) | |
| download | rockbox-94b64cc09e9af1fce9da150f00c61f33944ca8f2.zip rockbox-94b64cc09e9af1fce9da150f00c61f33944ca8f2.tar.gz rockbox-94b64cc09e9af1fce9da150f00c61f33944ca8f2.tar.bz2 rockbox-94b64cc09e9af1fce9da150f00c61f33944ca8f2.tar.xz | |
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/plugins')
| -rw-r--r-- | apps/plugins/flac2wav.c | 4 |
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 */ |