forked from len0rd/rockbox
.rockbox-browser showed old cached data when the .rockbox dir was already cached by the dir browser. Now it forces a reload of the .rockbox dir.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3968 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de179fdf5f
commit
130dccf16e
1 changed files with 1 additions and 0 deletions
|
|
@ -1416,6 +1416,7 @@ bool rockbox_browse(char *root, int dirfilter)
|
||||||
int cursorpos_save = cursorpos[0];
|
int cursorpos_save = cursorpos[0];
|
||||||
|
|
||||||
memcpy(currdir_save, currdir, sizeof(currdir));
|
memcpy(currdir_save, currdir, sizeof(currdir));
|
||||||
|
reload_dir = true;
|
||||||
rc = dirbrowse(root, &dirfilter);
|
rc = dirbrowse(root, &dirfilter);
|
||||||
memcpy(currdir, currdir_save, sizeof(currdir));
|
memcpy(currdir, currdir_save, sizeof(currdir));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue