summaryrefslogtreecommitdiff
path: root/apps/cuesheet.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 10:31:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit658026e6267277b27d297c481728f74d160a8481 (patch)
tree915a9d2bb48469bdd5b9127dc19a61f230721a6c /apps/cuesheet.c
parent8cb555460ff79e636a7907fb2589e16db98c8600 (diff)
downloadrockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz
rockbox-658026e6267277b27d297c481728f74d160a8481.zip
[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.
Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
Diffstat (limited to 'apps/cuesheet.c')
-rw-r--r--apps/cuesheet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/cuesheet.c b/apps/cuesheet.c
index 39152185e5..a9180a70d4 100644
--- a/apps/cuesheet.c
+++ b/apps/cuesheet.c
@@ -482,7 +482,6 @@ bool curr_cuesheet_skip(struct cuesheet *cue, int direction, unsigned long curr_
482 482
483} 483}
484 484
485#ifdef HAVE_LCD_BITMAP
486static inline void draw_veritcal_line_mark(struct screen * screen, 485static inline void draw_veritcal_line_mark(struct screen * screen,
487 int x, int y, int h) 486 int x, int y, int h)
488{ 487{
@@ -498,7 +497,7 @@ void cue_draw_markers(struct screen *screen, struct cuesheet *cue,
498{ 497{
499 int i,xi; 498 int i,xi;
500 unsigned long tracklen_seconds = tracklen/1000; /* duration in seconds */ 499 unsigned long tracklen_seconds = tracklen/1000; /* duration in seconds */
501 500
502 for (i=1; i < cue->track_count; i++) 501 for (i=1; i < cue->track_count; i++)
503 { 502 {
504 /* Convert seconds prior to multiplication to avoid overflow. */ 503 /* Convert seconds prior to multiplication to avoid overflow. */
@@ -506,7 +505,6 @@ void cue_draw_markers(struct screen *screen, struct cuesheet *cue,
506 draw_veritcal_line_mark(screen, xi, y, h); 505 draw_veritcal_line_mark(screen, xi, y, h);
507 } 506 }
508} 507}
509#endif
510 508
511bool cuesheet_subtrack_changed(struct mp3entry *id3) 509bool cuesheet_subtrack_changed(struct mp3entry *id3)
512{ 510{