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
|
|
@ -3099,7 +3099,7 @@ static bool commit(void)
|
|||
#ifdef HAVE_DIRCACHE
|
||||
/* Rebuild the dircache, if we stole the buffer. */
|
||||
if (dircache_buffer_stolen)
|
||||
dircache_build(0);
|
||||
dircache_resume();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TC_RAMCACHE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue