forked from len0rd/rockbox
Oops, fix the simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8730 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e1b33b96bc
commit
800f81006e
1 changed files with 5 additions and 1 deletions
|
@ -2685,8 +2685,12 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
||||||
rb->strcpy(np_file, parameter);
|
rb->strcpy(np_file, parameter);
|
||||||
get_pic_list();
|
get_pic_list();
|
||||||
|
|
||||||
#if PLUGIN_BUFFER_SIZE >= MIN_MEM
|
#if (PLUGIN_BUFFER_SIZE >= MIN_MEM) && !defined(SIMULATOR)
|
||||||
|
#if CONFIG_CODEC == SWCODEC
|
||||||
if(rb->pcm_is_playing())
|
if(rb->pcm_is_playing())
|
||||||
|
#else
|
||||||
|
if(rb->mp3_is_playing())
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
buf = rb->plugin_get_buffer(&buf_size) +
|
buf = rb->plugin_get_buffer(&buf_size) +
|
||||||
(entries * sizeof(char**));
|
(entries * sizeof(char**));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue