diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-08-31 11:54:19 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-31 11:54:19 +0000 |
commit | d7339c4a9429269cd43cdd30a71115049f47b529 (patch) | |
tree | 2e2cd436a5fcdec8104e84619f75a1a7f1bcb63a | |
parent | 1c00dd8212080f3e7647a0a66b6a574d1f369e51 (diff) | |
download | rockbox-d7339c4a9429269cd43cdd30a71115049f47b529.tar.gz rockbox-d7339c4a9429269cd43cdd30a71115049f47b529.zip |
Removed sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2095 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/wps-display.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index f3dbc6ef1e..580bbe010c 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -238,7 +238,7 @@ static bool display_custom_wps( struct mp3entry* id3, | |||
238 | 238 | ||
239 | switch(cchr3) | 239 | switch(cchr3) |
240 | { | 240 | { |
241 | #ifdef HAVE_LCD_CHARCELLS | 241 | #if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR) |
242 | case 'b': /* Progress Bar (PLAYER ONLY)*/ | 242 | case 'b': /* Progress Bar (PLAYER ONLY)*/ |
243 | draw_player_progress(id3, ff_rewind_count); | 243 | draw_player_progress(id3, ff_rewind_count); |
244 | snprintf(buf, LINE_LEN, "\x01"); | 244 | snprintf(buf, LINE_LEN, "\x01"); |
@@ -551,10 +551,9 @@ void wps_display(struct mp3entry* id3) | |||
551 | lcd_update(); | 551 | lcd_update(); |
552 | } | 552 | } |
553 | 553 | ||
554 | #ifdef HAVE_LCD_CHARCELLS | 554 | #if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR) |
555 | bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count) | 555 | bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count) |
556 | { | 556 | { |
557 | #ifndef SIMULATOR | ||
558 | if(!id3) | 557 | if(!id3) |
559 | return(false); | 558 | return(false); |
560 | char player_progressbar[7]; | 559 | char player_progressbar[7]; |
@@ -579,6 +578,5 @@ bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count) | |||
579 | } | 578 | } |
580 | lcd_define_pattern(8,player_progressbar,7); | 579 | lcd_define_pattern(8,player_progressbar,7); |
581 | return(true); | 580 | return(true); |
582 | #endif | ||
583 | } | 581 | } |
584 | #endif | 582 | #endif |