From 7ec8aa2a2c356f5929daa44e9e38386107d70f44 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 22 Jun 2005 22:38:52 +0000 Subject: Undid the variable font size handling in audio_debug since it now uses the system default font. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6832 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 204fe14..588daec 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -228,10 +228,7 @@ bool dbg_audio_thread(void) char buf[32]; int button; int line; - int center, height; bool done = false; - lcd_getstringsize(" ", ¢er, &height); - center = (height/2)-3; ticks = boost_ticks = 0; @@ -259,7 +256,7 @@ bool dbg_audio_thread(void) lcd_puts(0, line++, buf); /* Playable space left */ - scrollbar(0, line*height + center, LCD_WIDTH, 6, PCMBUF_SIZE, 0, + scrollbar(0, line*8, LCD_WIDTH, 6, PCMBUF_SIZE, 0, PCMBUF_SIZE-audiobuffer_free, HORIZONTAL); line++; @@ -267,7 +264,7 @@ bool dbg_audio_thread(void) lcd_puts(0, line++, buf); /* Playable space left */ - scrollbar(0, line*height + center, LCD_WIDTH, 6, codecbuflen, 0, + scrollbar(0, line*8, LCD_WIDTH, 6, codecbuflen, 0, codecbufused, HORIZONTAL); line++; @@ -1800,7 +1797,7 @@ bool dbg_save_roms(void) write(fd, (void *)0, 0x10000); close(fd); } - + fd = creat("/internal_rom_2000000-203FFFF.bin", O_WRONLY); if(fd >= 0) { -- cgit v1.1