summaryrefslogtreecommitdiffstats
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-12-06 22:25:31 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-12-06 22:25:31 +0000
commitc35b43b0f54bd607d38908544446caaa02f148a3 (patch)
treed81ecc92cf6d3e9fcdfe2c6844e59560d5b04a93 /apps/settings_list.c
parent23321dca5e1dc7adc5add85fa1e6451d17307cd1 (diff)
downloadrockbox-c35b43b0f54bd607d38908544446caaa02f148a3.tar.gz
rockbox-c35b43b0f54bd607d38908544446caaa02f148a3.tar.bz2
rockbox-c35b43b0f54bd607d38908544446caaa02f148a3.zip
Enable dircache by default on all targets with enough memory to use it. Helps significantly on HD players, and is somewhat faster on most flash players due to how WPS info is cached. Users can of course still disable it if they prefer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28751 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 2922bcd1aa..8c1b5897dd 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -1423,7 +1423,8 @@ const struct settings_list settings[] = {
"treble cutoff", SOUND_TREBLE_CUTOFF),
#endif
#ifdef HAVE_DIRCACHE
- OFFON_SETTING(F_BANFROMQS,dircache,LANG_DIRCACHE_ENABLE,false,"dircache",NULL),
+ /*enable dircache for all targets > 2MB of RAM by default*/
+ OFFON_SETTING(F_BANFROMQS,dircache,LANG_DIRCACHE_ENABLE,true,"dircache",NULL),
SYSTEM_SETTING(NVRAM(4),dircache_size,0),
#endif