mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
WIN32: Fix getting the parent directory of non-existant file nodes
This commit is contained in:
parent
e00b2064a5
commit
e55e429353
@ -220,8 +220,6 @@ bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b
|
||||
}
|
||||
|
||||
AbstractFSNode *WindowsFilesystemNode::getParent() const {
|
||||
assert(_isValid || _isPseudoRoot);
|
||||
|
||||
if (_isPseudoRoot)
|
||||
return 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user