forked from len0rd/rockbox
Fix lockup of simulator at startup if dircache enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11990 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fb0f67e9d3
commit
12ef310466
1 changed files with 1 additions and 1 deletions
|
@ -531,8 +531,8 @@ static int dircache_do_rebuild(void)
|
||||||
|
|
||||||
/* Measure how long it takes build the cache. */
|
/* Measure how long it takes build the cache. */
|
||||||
start_tick = current_tick;
|
start_tick = current_tick;
|
||||||
dircache_initializing = true;
|
|
||||||
remove(DIRCACHE_FILE);
|
remove(DIRCACHE_FILE);
|
||||||
|
dircache_initializing = true;
|
||||||
|
|
||||||
#ifdef SIMULATOR
|
#ifdef SIMULATOR
|
||||||
pdir = opendir("/");
|
pdir = opendir("/");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue