diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-06 07:03:14 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2008-03-06 07:03:14 +0000 |
| commit | e1ba7f76efce1c9eabd33577ee4dc4efaa218f70 (patch) | |
| tree | af35f13d4d9554a6f017811763172810337acec0 /apps/main.c | |
| parent | 012833ce1561d9a9d864f608a63a9189ec29b023 (diff) | |
| download | rockbox-e1ba7f76efce1c9eabd33577ee4dc4efaa218f70.zip rockbox-e1ba7f76efce1c9eabd33577ee4dc4efaa218f70.tar.gz rockbox-e1ba7f76efce1c9eabd33577ee4dc4efaa218f70.tar.bz2 rockbox-e1ba7f76efce1c9eabd33577ee4dc4efaa218f70.tar.xz | |
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
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 bb29eb7..15dd1bc 100644 --- a/apps/main.c +++ b/apps/main.c @@ -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(); |