1
0
Fork 0
forked from len0rd/rockbox

There is no iram for simulator plugins.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6043 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-02-23 00:52:30 +00:00
parent 78724269a5
commit 94b64cc09e

View file

@ -155,9 +155,11 @@ FLAC__bool flac_eof_handler (const FLAC__SeekableStreamDecoder *decoder,
} }
} }
#ifndef SIMULATOR
extern char iramcopy[]; extern char iramcopy[];
extern char iramstart[]; extern char iramstart[];
extern char iramend[]; extern char iramend[];
#endif
/* this is the plugin entry point */ /* this is the plugin entry point */
enum plugin_status plugin_start(struct plugin_api* api, void* file) 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... :-) */ otherwise you will get lovely "I04: IllInstr" errors... :-) */
rb = api; rb = api;
#ifndef SIMULATOR
rb->memcpy(iramstart, iramcopy, iramend-iramstart); rb->memcpy(iramstart, iramcopy, iramend-iramstart);
#endif
/* This function sets up the buffers and reads the file into RAM */ /* This function sets up the buffers and reads the file into RAM */