aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorCameron Cawley2019-09-14 17:21:14 +0100
committerFilippos Karapetis2019-09-14 19:56:43 +0300
commite55e429353264b1b4a592c430a3015ade6b271ed (patch)
tree3110c9a124a00a15540fed7aac2c85feef76c8d9 /backends/fs
parente00b2064a5d789a2e6a61da28d0474298c436727 (diff)
downloadscummvm-rg350-e55e429353264b1b4a592c430a3015ade6b271ed.tar.gz
scummvm-rg350-e55e429353264b1b4a592c430a3015ade6b271ed.tar.bz2
scummvm-rg350-e55e429353264b1b4a592c430a3015ade6b271ed.zip
WIN32: Fix getting the parent directory of non-existant file nodes
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/windows/windows-fs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index e69e72a746..cc778d2df2 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -220,8 +220,6 @@ bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b
}
AbstractFSNode *WindowsFilesystemNode::getParent() const {
- assert(_isValid || _isPseudoRoot);
-
if (_isPseudoRoot)
return 0;