forked from len0rd/rockbox
Attempt at fixing reds in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2093 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
44a0b5d8bf
commit
4a72e643da
1 changed files with 6 additions and 1 deletions
|
|
@ -68,7 +68,11 @@ static bool load_custom_wps(void)
|
||||||
int fd;
|
int fd;
|
||||||
int l = 0;
|
int l = 0;
|
||||||
int numread = 1;
|
int numread = 1;
|
||||||
|
#ifdef SIMULATOR
|
||||||
|
char *cchr;
|
||||||
|
#else
|
||||||
char cchr[0];
|
char cchr[0];
|
||||||
|
#endif
|
||||||
|
|
||||||
for (l=0;l<=5;l++)
|
for (l=0;l<=5;l++)
|
||||||
custom_wps[l][0] = 0;
|
custom_wps[l][0] = 0;
|
||||||
|
|
@ -550,9 +554,9 @@ void wps_display(struct mp3entry* id3)
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
||||||
{
|
{
|
||||||
|
#ifndef SIMULATOR
|
||||||
if(!id3)
|
if(!id3)
|
||||||
return(false);
|
return(false);
|
||||||
char player_progressbar[7];
|
|
||||||
char binline[36];
|
char binline[36];
|
||||||
int songpos = 0;
|
int songpos = 0;
|
||||||
int i,j;
|
int i,j;
|
||||||
|
|
@ -574,5 +578,6 @@ bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
||||||
}
|
}
|
||||||
lcd_define_pattern(8,player_progressbar,7);
|
lcd_define_pattern(8,player_progressbar,7);
|
||||||
return(true);
|
return(true);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue