summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-05-31 06:07:28 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-05-31 06:07:28 +0000
commit26ffc619a44c78b3c63bbcb846ed5983bb3f0e1e (patch)
treea68bac758571a01b59c37198dbfb7459128b0be2
parent1386034044bafc618398be205dbab66e38582643 (diff)
downloadrockbox-26ffc619a44c78b3c63bbcb846ed5983bb3f0e1e.tar.gz
rockbox-26ffc619a44c78b3c63bbcb846ed5983bb3f0e1e.tar.bz2
rockbox-26ffc619a44c78b3c63bbcb846ed5983bb3f0e1e.zip
Need to reload tagcache in ram if dircache buffer has been stolen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10025 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tagcache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 866b5c1444..b3bce45b9a 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1879,7 +1879,10 @@ static bool commit(void)
tempbuf_size &= ~0x03;
if (tempbuf_size > 0)
+ {
dircache_buffer_stolen = true;
+ stat.ramcache = false;
+ }
}
#endif