diff options
Diffstat (limited to 'backends/fs/ps2/ps2-fs.cpp')
-rw-r--r-- | backends/fs/ps2/ps2-fs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/fs/ps2/ps2-fs.cpp b/backends/fs/ps2/ps2-fs.cpp index 9d8e360f64..727e1a894f 100644 --- a/backends/fs/ps2/ps2-fs.cpp +++ b/backends/fs/ps2/ps2-fs.cpp @@ -73,7 +73,7 @@ public: virtual AbstractFilesystemNode *clone() const { return new Ps2FilesystemNode(this); } virtual AbstractFilesystemNode *getChild(const String &n) const; - virtual bool getChildren(AbstractFSList &list, ListMode mode) const; + virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const; virtual AbstractFilesystemNode *getParent() const; }; @@ -150,7 +150,9 @@ AbstractFilesystemNode *Ps2FilesystemNode::getChild(const String &n) const { return NULL; } -bool Ps2FilesystemNode::getChildren(AbstractFSList &list, ListMode mode) const { +bool Ps2FilesystemNode::getChildren(AbstractFSList &list, ListMode mode, bool hidden) const { + //TODO: honor the hidden flag + if (!_isDirectory) return false; |