forked from len0rd/rockbox
Show splash during init, no delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@781 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
951fe18a40
commit
6c890966a4
2 changed files with 4 additions and 6 deletions
|
|
@ -36,7 +36,6 @@
|
||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
show_splash();
|
|
||||||
browse_root();
|
browse_root();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -50,6 +49,10 @@ int init(void)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
lcd_init();
|
||||||
|
#endif
|
||||||
|
show_splash();
|
||||||
dmalloc_initialize();
|
dmalloc_initialize();
|
||||||
bmalloc_add_pool(poolstart, poolend-poolstart);
|
bmalloc_add_pool(poolstart, poolend-poolstart);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,11 +97,6 @@ void show_splash(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
lcd_update();
|
lcd_update();
|
||||||
for ( i=0;i<10;i++) {
|
|
||||||
sleep(HZ/10);
|
|
||||||
if (button_get(false))
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void main_menu(void)
|
void main_menu(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue