forked from len0rd/rockbox
Fixed crash with early USB. The USB screen already uses some of the new GUI code, so we have to init before. Fixed problem with gui_syncstatusbar_init() drawing the status bar(s) right away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8030 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f839ccb36f
commit
bccfae0a58
4 changed files with 9 additions and 11 deletions
|
@ -148,6 +148,9 @@ void init(void)
|
|||
font_init();
|
||||
show_logo();
|
||||
lang_init();
|
||||
/* Must be done before any code uses the multi-screen APi */
|
||||
screen_access_init();
|
||||
gui_syncstatusbar_init(&statusbars);
|
||||
settings_reset();
|
||||
settings_calc_config_sector();
|
||||
settings_load(SETTINGS_ALL);
|
||||
|
@ -245,6 +248,10 @@ void init(void)
|
|||
radio_init();
|
||||
#endif
|
||||
|
||||
/* Must be done before any code uses the multi-screen APi */
|
||||
screen_access_init();
|
||||
gui_syncstatusbar_init(&statusbars);
|
||||
|
||||
#if defined(HAVE_CHARGING) && (CONFIG_CPU == SH7034)
|
||||
if (coldstart && charger_inserted()
|
||||
&& !global_settings.car_adapter_mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue