1
0
Fork 0
forked from len0rd/rockbox

Do not delete tagcache entries on bootup with dircache enabled but auto-update disabled.

This fixes for example disappearing database if you happen to boot without µSD.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21644 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-07-04 23:20:51 +00:00
parent cacb47e262
commit ff8f681f03

View file

@ -3984,7 +3984,8 @@ static bool load_tagcache(void)
{
logf("Entry no longer valid.");
logf("-> %s", buf);
delete_entry(fe->idx_id);
if (global_settings.tagcache_autoupdate)
delete_entry(fe->idx_id);
continue ;
}