diff options
author | Cameron Cawley | 2019-09-14 17:21:14 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-09-14 19:56:43 +0300 |
commit | e55e429353264b1b4a592c430a3015ade6b271ed (patch) | |
tree | 3110c9a124a00a15540fed7aac2c85feef76c8d9 /backends/fs/windows | |
parent | e00b2064a5d789a2e6a61da28d0474298c436727 (diff) | |
download | scummvm-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/windows')
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 2 |
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; |