diff options
author | Willem Jan Palenstijn | 2014-01-22 22:53:14 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2014-01-22 22:54:14 +0100 |
commit | d32816c0279ebf064542dafd1f1b257f0661bd2a (patch) | |
tree | 34b122eb554a22924c7ca8b871661c33d32b594d /backends/fs/amigaos4 | |
parent | 58aaef33c11e4f140c962f96e54a326baa724c0e (diff) | |
download | scummvm-rg350-d32816c0279ebf064542dafd1f1b257f0661bd2a.tar.gz scummvm-rg350-d32816c0279ebf064542dafd1f1b257f0661bd2a.tar.bz2 scummvm-rg350-d32816c0279ebf064542dafd1f1b257f0661bd2a.zip |
AMIGAOS4: Allow getParent() to work for non-directories
Diffstat (limited to 'backends/fs/amigaos4')
-rw-r--r-- | backends/fs/amigaos4/amigaos4-fs.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp index d0578307f4..bd8bf1978a 100644 --- a/backends/fs/amigaos4/amigaos4-fs.cpp +++ b/backends/fs/amigaos4/amigaos4-fs.cpp @@ -306,12 +306,6 @@ bool AmigaOSFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b AbstractFSNode *AmigaOSFilesystemNode::getParent() const { ENTER(); - if (!_bIsDirectory) { - debug(6, "Not a directory"); - LEAVE(); - return 0; - } - if (_pFileLock == 0) { debug(6, "Root node"); LEAVE(); |