diff options
Diffstat (limited to 'backends/fs/ds/ds-fs.cpp')
-rw-r--r-- | backends/fs/ds/ds-fs.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/fs/ds/ds-fs.cpp b/backends/fs/ds/ds-fs.cpp index c0138459a9..11d373ea1e 100644 --- a/backends/fs/ds/ds-fs.cpp +++ b/backends/fs/ds/ds-fs.cpp @@ -133,10 +133,12 @@ AbstractFilesystemNode *DSFileSystemNode::getChild(const Common::String& n) cons return NULL; } -bool DSFileSystemNode::getChildren(AbstractFSList &dirList, ListMode mode) const { +bool DSFileSystemNode::getChildren(AbstractFSList &dirList, ListMode mode, bool hidden) const { // consolePrintf("Listdir\n"); // consolePrintf("Directory\n"); + //TODO: honor the hidden flag + char temp[128]; strcpy(temp, _path.c_str()); @@ -283,9 +285,11 @@ AbstractFilesystemNode *GBAMPFileSystemNode::getChild(const Common::String& n) c return NULL; } -bool GBAMPFileSystemNode::getChildren(AbstractFSList& dirList, ListMode mode) const { +bool GBAMPFileSystemNode::getChildren(AbstractFSList& dirList, ListMode mode, bool hidden) const { // consolePrintf("Listdir\n"); + //TODO: honor the hidden flag + enum { TYPE_NO_MORE = 0, TYPE_FILE = 1, TYPE_DIR = 2 }; char temp[128], fname[128], *path, *pathTemp; |