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