1
0
Fork 0
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:
Justin Heiner 2002-08-31 05:24:32 +00:00
parent 44a0b5d8bf
commit 4a72e643da

View file

@ -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