From 26ffc619a44c78b3c63bbcb846ed5983bb3f0e1e Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Wed, 31 May 2006 06:07:28 +0000 Subject: [PATCH] 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 --- apps/tagcache.c | 3 +++ 1 file changed, 3 insertions(+) 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