diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-08-30 21:07:46 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-08-30 21:07:46 +0000 |
| commit | 7e14b935dfdcd808cfb0703d19a43efd11eeef16 (patch) | |
| tree | 57834f71db1bbaaabf7872d8609f8254371377cf /apps/tagcache.c | |
| parent | c1ae789108942f3270fb90bd5a088adfee126333 (diff) | |
| download | rockbox-7e14b935dfdcd808cfb0703d19a43efd11eeef16.zip rockbox-7e14b935dfdcd808cfb0703d19a43efd11eeef16.tar.gz rockbox-7e14b935dfdcd808cfb0703d19a43efd11eeef16.tar.bz2 rockbox-7e14b935dfdcd808cfb0703d19a43efd11eeef16.tar.xz | |
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
Diffstat (limited to 'apps/tagcache.c')
| -rw-r--r-- | apps/tagcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index e3f2f4f..8d522b1 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -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 |