forked from len0rd/rockbox
Fix dircache on simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12175 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2289e1c9b4
commit
74db69e240
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ static int dircache_scan(struct travel_data *td)
|
|||
}
|
||||
|
||||
td->ce->attribute = td->entry->attribute;
|
||||
td->ce->name_len = strlen(td->entry->d_name);
|
||||
td->ce->name_len = strlen(td->entry->d_name) + 1;
|
||||
td->ce->d_name = ((char *)dircache_root+dircache_size);
|
||||
td->ce->size = td->entry->size;
|
||||
td->ce->wrtdate = td->entry->wrtdate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue