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/tree.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/tree.c')
| -rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index c7484ff..24acd5a 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -1216,7 +1216,7 @@ void tree_flush(void) if (firmware_settings.initialized) dircache_save(); # endif - dircache_disable(); + dircache_suspend(); } else { |