forked from len0rd/rockbox
there is no need to load the filename settings unless reading from a .cfg, so stop them being read every time settings_apply() is called
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16535 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
012833ce15
commit
e1ba7f76ef
6 changed files with 79 additions and 75 deletions
|
@ -293,7 +293,7 @@ static void init(void)
|
|||
settings_reset();
|
||||
settings_load(SETTINGS_ALL);
|
||||
gui_sync_wps_init();
|
||||
settings_apply();
|
||||
settings_apply(true);
|
||||
init_dircache(true);
|
||||
init_dircache(false);
|
||||
#ifdef HAVE_TAGCACHE
|
||||
|
@ -519,7 +519,7 @@ static void init(void)
|
|||
}
|
||||
|
||||
gui_sync_wps_init();
|
||||
settings_apply();
|
||||
settings_apply(true);
|
||||
init_dircache(false);
|
||||
#ifdef HAVE_TAGCACHE
|
||||
init_tagcache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue