forked from len0rd/rockbox
minor changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@638 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c794a1af7f
commit
dfba210850
1 changed files with 8 additions and 8 deletions
18
apps/menu.c
18
apps/menu.c
|
@ -92,7 +92,6 @@ void redraw_cursor(void)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Move the cursor to a particular id,
|
* Move the cursor to a particular id,
|
||||||
* current: where it is now
|
|
||||||
* target: where you want it to be
|
* target: where you want it to be
|
||||||
*/
|
*/
|
||||||
void put_cursor(int target)
|
void put_cursor(int target)
|
||||||
|
@ -196,18 +195,19 @@ void menu_draw(void)
|
||||||
|
|
||||||
void show_splash(void)
|
void show_splash(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LCD_BITMAP
|
char *rockbox = "ROCKbox!";
|
||||||
|
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
|
|
||||||
if (show_logo() == 0) {
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
if (show_logo() != 0)
|
||||||
|
return;
|
||||||
|
#else
|
||||||
|
lcd_puts(0, 0, rockbox);
|
||||||
|
#endif
|
||||||
|
|
||||||
lcd_update();
|
lcd_update();
|
||||||
busy_wait();
|
busy_wait();
|
||||||
}
|
|
||||||
#else
|
|
||||||
char *rockbox = "ROCKbox!";
|
|
||||||
lcd_puts(0, 0, rockbox);
|
|
||||||
busy_wait();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue