diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-12-05 14:11:48 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-12-05 14:11:48 +0000 |
commit | d29248d992b65e71976bd46b9c4697a89d1bec4d (patch) | |
tree | f163666e7f177f6e0047f6566dec3286d7298eb8 /apps/debug_menu.c | |
parent | 49d2190bd0fa6def5f0c131f48db610e8c6533dd (diff) |
More fine-tuned buffer handling, and better debug info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2948 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 76c8662d92..4c1c9893cb 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -166,12 +166,12 @@ bool dbg_mpeg_thread(void) lcd_puts(0, 2, buf); snprintf(buf, sizeof(buf), "playing: %d", d.playing); lcd_puts(0, 3, buf); - snprintf(buf, sizeof(buf), "unplayed: %x", d.unplayed_space); + snprintf(buf, sizeof(buf), "playable: %x", d.playable_space); lcd_puts(0, 4, buf); snprintf(buf, sizeof(buf), "unswapped: %x", d.unswapped_space); lcd_puts(0, 5, buf); - percent = d.unplayed_space * 100 / d.mp3buflen; + percent = d.playable_space * 100 / d.mp3buflen; progressbar(0, 6*8, 112, 4, percent, Grow_Right); percent = d.low_watermark_level * 100 / d.mp3buflen; |