mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
AMIGAOS4: Allow getParent() to work for non-directories
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user