1
0
Fork 0
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:
Thomas Martitz 2011-08-30 21:07:46 +00:00
parent c1ae789108
commit 7e14b935df
5 changed files with 77 additions and 41 deletions

View file

@ -1216,7 +1216,7 @@ void tree_flush(void)
if (firmware_settings.initialized)
dircache_save();
# endif
dircache_disable();
dircache_suspend();
}
else
{