summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-29 09:12:21 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-29 09:12:21 +0000
commit6c890966a421bfcdd5ca522eb4cdf9ec36f50acd (patch)
treef328cd95119e2acc46faac9325ee5148bfdba460
parent951fe18a409fd38858365e2f47eb6f27dce2a834 (diff)
downloadrockbox-6c890966a421bfcdd5ca522eb4cdf9ec36f50acd.tar.gz
rockbox-6c890966a421bfcdd5ca522eb4cdf9ec36f50acd.zip
Show splash during init, no delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@781 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/main.c5
-rw-r--r--apps/main_menu.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/apps/main.c b/apps/main.c
index 0bfb00de2c..674211941f 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -36,7 +36,6 @@
36 36
37void app_main(void) 37void app_main(void)
38{ 38{
39 show_splash();
40 browse_root(); 39 browse_root();
41} 40}
42 41
@@ -50,6 +49,10 @@ int init(void)
50{ 49{
51 int rc; 50 int rc;
52 51
52#ifdef HAVE_LCD_BITMAP
53 lcd_init();
54#endif
55 show_splash();
53 dmalloc_initialize(); 56 dmalloc_initialize();
54 bmalloc_add_pool(poolstart, poolend-poolstart); 57 bmalloc_add_pool(poolstart, poolend-poolstart);
55 58
diff --git a/apps/main_menu.c b/apps/main_menu.c
index 31fe73bdde..e3eb240b1d 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -97,11 +97,6 @@ void show_splash(void)
97#endif 97#endif
98 98
99 lcd_update(); 99 lcd_update();
100 for ( i=0;i<10;i++) {
101 sleep(HZ/10);
102 if (button_get(false))
103 break;
104 }
105} 100}
106 101
107void main_menu(void) 102void main_menu(void)