forked from len0rd/rockbox
Dircache: Allow dircache to be enabled without reboot.
Also add two dircache function, one of which does what dircache_disable() did previously as this now also frees the dircache buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30393 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c1ae789108
commit
7e14b935df
5 changed files with 77 additions and 41 deletions
|
|
@ -1216,7 +1216,7 @@ void tree_flush(void)
|
|||
if (firmware_settings.initialized)
|
||||
dircache_save();
|
||||
# endif
|
||||
dircache_disable();
|
||||
dircache_suspend();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue