From 4a72e643da4d7d631b6939b2bca6772c37fc188a Mon Sep 17 00:00:00 2001 From: Justin Heiner Date: Sat, 31 Aug 2002 05:24:32 +0000 Subject: [PATCH] Attempt at fixing reds in sims git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2093 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps-display.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/wps-display.c b/apps/wps-display.c index e8156cfcbf..71800cbd23 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -68,7 +68,11 @@ static bool load_custom_wps(void) int fd; int l = 0; int numread = 1; +#ifdef SIMULATOR + char *cchr; +#else char cchr[0]; +#endif for (l=0;l<=5;l++) custom_wps[l][0] = 0; @@ -550,9 +554,9 @@ void wps_display(struct mp3entry* id3) #ifdef HAVE_LCD_CHARCELLS bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count) { +#ifndef SIMULATOR if(!id3) return(false); - char player_progressbar[7]; char binline[36]; int songpos = 0; 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); return(true); +#endif } #endif