diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2005-12-06 13:27:15 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2005-12-06 13:27:15 +0000 |
commit | b0fee17d6e1a463dcd84568e5997663b69488998 (patch) | |
tree | fffce775c4d1636a8bbc9e97669aa99b9378fc15 /firmware/mpeg.c | |
parent | 01917ec9809f1abff87cb372b700fc09476d343e (diff) |
waiting is over: initial unicode commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index a162887fd9..b5f1ef83c7 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -46,6 +46,9 @@ #include "file.h" #include "hwcompat.h" #endif /* !SIMULATOR */ +#ifdef HAVE_LCD_BITMAP +#include "lcd.h" +#endif #ifndef SIMULATOR extern unsigned long mas_version_code; @@ -916,6 +919,12 @@ static struct trackdata *add_track_to_tag_list(const char *filename) } track->mempos = audiobuf_write; track->id3.elapsed = 0; +#ifdef HAVE_LCD_BITMAP + int w, h; + lcd_getstringsize(track->id3.title, &w, &h); + lcd_getstringsize(track->id3.artist, &w, &h); + lcd_getstringsize(track->id3.album, &w, &h); +#endif track_write_idx = (track_write_idx+1) & MAX_TRACK_ENTRIES_MASK; debug_tags(); |