mirror of https://github.com/stella-emu/stella.git
fixed virtual folders (fixes #855)
This commit is contained in:
parent
a952bef910
commit
bfc59ddcc3
|
@ -128,7 +128,7 @@ void LauncherFileListWidget::extendLists(StringList& list)
|
|||
// Only show virtual dirs in "romdir". Except if
|
||||
// "romdir" is virtual or "romdir" is a ZIP
|
||||
// Then show virtual dirs in parent dir of "romdir".
|
||||
if(myRomDir == startRomDir()
|
||||
if(_node.getPath() == startRomDir()
|
||||
&& (myInVirtualDir || BSPF::endsWithIgnoreCase(_node.getPath(), ".zip")))
|
||||
{
|
||||
myRomDir = _node.getParent().getPath();
|
||||
|
|
Loading…
Reference in New Issue