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
This commit is contained in:
Michael Giacomelli 2010-12-06 22:25:31 +00:00
parent 23321dca5e
commit c35b43b0f5

View file

@ -1423,7 +1423,8 @@ const struct settings_list settings[] = {
"treble cutoff", SOUND_TREBLE_CUTOFF), "treble cutoff", SOUND_TREBLE_CUTOFF),
#endif #endif
#ifdef HAVE_DIRCACHE #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), SYSTEM_SETTING(NVRAM(4),dircache_size,0),
#endif #endif