mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-10 07:39:39 +01:00
bugfix
This commit is contained in:
parent
c181823e79
commit
36bc30d205
@ -631,13 +631,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…
x
Reference in New Issue
Block a user