aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorNeil Millstone2007-12-21 18:30:25 +0000
committerNeil Millstone2007-12-21 18:30:25 +0000
commit8183d564076609e381fb44203ee02a9b4617da1d (patch)
treec57dc173c0eb5c8bcd08aff25ef295ecc732e8a5 /backends
parentb4a661632ec1437a1fb0a559c54d58f412035c58 (diff)
downloadscummvm-rg350-8183d564076609e381fb44203ee02a9b4617da1d.tar.gz
scummvm-rg350-8183d564076609e381fb44203ee02a9b4617da1d.tar.bz2
scummvm-rg350-8183d564076609e381fb44203ee02a9b4617da1d.zip
Implement exists() in DS file system
svn-id: r29942
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/ds/ds-fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/ds/ds-fs.h b/backends/fs/ds/ds-fs.h
index 208572a619..9173058bda 100644
--- a/backends/fs/ds/ds-fs.h
+++ b/backends/fs/ds/ds-fs.h
@@ -142,7 +142,7 @@ public:
*/
GBAMPFileSystemNode(const GBAMPFileSystemNode *node);
- virtual bool exists() const { return true; } //FIXME: this is just a stub
+ virtual bool exists() const { return _isValid || _isDirectory; } //FIXME: this is just a stub
virtual String getDisplayName() const { return _displayName; }
virtual String getName() const { return _displayName; }
virtual String getPath() const { return _path; }