mirror of
https://github.com/libretro/stella2023.git
synced 2024-11-23 08:59:51 +00:00
fixed empty file listing bug
This commit is contained in:
parent
cafe2acbcf
commit
ddb6f49e59
@ -268,7 +268,7 @@ void BrowserDialog::show(string_view startpath,
|
||||
}
|
||||
|
||||
// Set start path
|
||||
if(_mode != Mode::Directories)
|
||||
if(_mode != Mode::Directories && !directory.empty())
|
||||
_fileList->setDirectory(FSNode(directory), fileName);
|
||||
else
|
||||
_fileList->setDirectory(FSNode(startpath));
|
||||
|
Loading…
Reference in New Issue
Block a user