aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows
diff options
context:
space:
mode:
authorDavid Corrales2007-06-04 22:02:35 +0000
committerDavid Corrales2007-06-04 22:02:35 +0000
commitfedfe66831ebed2822fe74c86ed59b6d69326f3d (patch)
treea707ffd1cf4094aef279ffa77a0f6a4f4f98d8bf /backends/fs/windows
parent3e7c5b027e2131cde30d994ccdb27c77f0118ffe (diff)
downloadscummvm-rg350-fedfe66831ebed2822fe74c86ed59b6d69326f3d.tar.gz
scummvm-rg350-fedfe66831ebed2822fe74c86ed59b6d69326f3d.tar.bz2
scummvm-rg350-fedfe66831ebed2822fe74c86ed59b6d69326f3d.zip
Added stubs for the exists(), isReadable() and isWritable() methods for all architectures.
svn-id: r27087
Diffstat (limited to 'backends/fs/windows')
-rw-r--r--backends/fs/windows/windows-fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index 9cd6aa40a0..5a9e1c65b6 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -78,8 +78,8 @@ public:
virtual String getPath() const { return _path; }
virtual bool isDirectory() const { return _isDirectory; }
virtual bool isReadable() const { return _access(_path.c_str(), R_OK) == 0; }
- virtual bool isWritable() const { return _access(_path.c_str(), W_OK) == 0; }
virtual bool isValid() const { return _isValid; }
+ virtual bool isWritable() const { return _access(_path.c_str(), W_OK) == 0; }
virtual AbstractFilesystemNode *getChild(const String &n) const;
virtual bool getChildren(AbstractFSList &list, ListMode mode) const;