mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
23321dca5e
commit
c35b43b0f5
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue