mirror of
https://github.com/dborth/vbagx.git
synced 2024-12-28 11:41:50 +01:00
bugfix
This commit is contained in:
parent
c9e20c508b
commit
f87112da10
@ -630,13 +630,14 @@ ParseDirectory(bool waitParse)
|
|||||||
|
|
||||||
if(IsDeviceRoot(browser.dir))
|
if(IsDeviceRoot(browser.dir))
|
||||||
{
|
{
|
||||||
browser.numEntries = 1;
|
AddBrowserEntry();
|
||||||
sprintf(browserList[0].filename, "..");
|
sprintf(browserList[0].filename, "..");
|
||||||
sprintf(browserList[0].displayname, "Up One Level");
|
sprintf(browserList[0].displayname, "Up One Level");
|
||||||
browserList[0].length = 0;
|
browserList[0].length = 0;
|
||||||
browserList[0].mtime = 0;
|
browserList[0].mtime = 0;
|
||||||
browserList[0].isdir = 1; // flag this as a dir
|
browserList[0].isdir = 1; // flag this as a dir
|
||||||
browserList[0].icon = ICON_FOLDER;
|
browserList[0].icon = ICON_FOLDER;
|
||||||
|
browser.numEntries++;
|
||||||
}
|
}
|
||||||
|
|
||||||
parseHalt = false;
|
parseHalt = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user