forked from len0rd/rockbox
Dircache fixes: Stop scanning properly if shutdown is initiated. Require user to re-enable dircache if initialization fails. Don't create statefile unless eeprom settings have been initialized.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13060 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8e6e25c353
commit
7b1e827f0c
3 changed files with 14 additions and 9 deletions
|
|
@ -172,7 +172,14 @@ static int init_dircache(bool preinit)
|
|||
}
|
||||
|
||||
if (result < 0)
|
||||
gui_syncsplash(0, "Failed! Result: %d", result);
|
||||
{
|
||||
/* Initialization of dircache failed. Manual action is
|
||||
* necessary to enable dircache again.
|
||||
*/
|
||||
gui_syncsplash(0, "Dircache failed, disabled. Result: %d", result);
|
||||
global_settings.dircache = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (clear)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue