summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-22 22:38:52 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-22 22:38:52 +0000
commit7ec8aa2a2c356f5929daa44e9e38386107d70f44 (patch)
tree964ce218fa5a9eed971691a34f1293007cd855ff /apps/debug_menu.c
parente23348ac8ba14fb34e6813058c591b773a4f4995 (diff)
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
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 204fe14b0d..588daec96b 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(" ", &center, &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)
{