diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-10-10 13:17:39 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-10-10 13:17:39 +0000 |
commit | c8c40c52916ec5af08c4ec76059b632366c0fa5f (patch) | |
tree | 8ddb8b862add93e7273aedcf71d32ffc81d225cf /apps/main.c | |
parent | 0d100b4dd83a780af9bd3e3b0384e4a40e517ff4 (diff) | |
download | rockbox-c8c40c52916ec5af08c4ec76059b632366c0fa5f.tar.gz rockbox-c8c40c52916ec5af08c4ec76059b632366c0fa5f.tar.bz2 rockbox-c8c40c52916ec5af08c4ec76059b632366c0fa5f.zip |
Add a "early_usb" argument to gui_usb_screen_run(), and don't do skin unloading/reloading in gui_usb_screen_run() in the early usb case. Fixes the crash part of FS#11589
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28229 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c index 949790b05f..950168d8ed 100644 --- a/apps/main.c +++ b/apps/main.c @@ -573,7 +573,7 @@ static void init(void) (mmc_remove_request() == SYS_HOTSWAP_EXTRACTED)) #endif { - gui_usb_screen_run(); + gui_usb_screen_run(true); mounted = true; /* mounting done @ end of USB mode */ } #ifdef HAVE_USB_POWER @@ -600,7 +600,7 @@ static void init(void) lcd_update(); while(button_get(true) != SYS_USB_CONNECTED) {}; - gui_usb_screen_run(); + gui_usb_screen_run(true); system_reboot(); } } |