forked from len0rd/rockbox
UI simulator: fix startup freeze if a language had been selected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11459 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
398c802710
commit
50deedc6c7
1 changed files with 3 additions and 4 deletions
|
|
@ -225,6 +225,9 @@ void init(void)
|
|||
button_init();
|
||||
backlight_init();
|
||||
lang_init();
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
audio_preinit(); /* Must be done before settings_apply() */
|
||||
#endif
|
||||
/* Must be done before any code uses the multi-screen APi */
|
||||
screen_access_init();
|
||||
gui_syncstatusbar_init(&statusbars);
|
||||
|
|
@ -256,10 +259,6 @@ void init(void)
|
|||
global_settings.mdb_enable,
|
||||
global_settings.superbass);
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
audio_preinit();
|
||||
#endif
|
||||
|
||||
scrobbler_init();
|
||||
|
||||
/* audio_init must to know the size of voice buffer so init voice first */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue