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:
parent
cacb47e262
commit
ff8f681f03
1 changed files with 2 additions and 1 deletions
|
|
@ -3984,7 +3984,8 @@ static bool load_tagcache(void)
|
||||||
{
|
{
|
||||||
logf("Entry no longer valid.");
|
logf("Entry no longer valid.");
|
||||||
logf("-> %s", buf);
|
logf("-> %s", buf);
|
||||||
delete_entry(fe->idx_id);
|
if (global_settings.tagcache_autoupdate)
|
||||||
|
delete_entry(fe->idx_id);
|
||||||
continue ;
|
continue ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue