diff options
Diffstat (limited to 'backends/fs/ds')
-rw-r--r-- | backends/fs/ds/ds-fs.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/backends/fs/ds/ds-fs.cpp b/backends/fs/ds/ds-fs.cpp index 8498a77751..64430f3fe5 100644 --- a/backends/fs/ds/ds-fs.cpp +++ b/backends/fs/ds/ds-fs.cpp @@ -212,8 +212,7 @@ Common::WriteStream *DSFileSystemNode::createWriteStream() { } bool DSFileSystemNode::createDirectory() { - error("Not supported"); - return false; + return _isValid && _isDirectory; } ////////////////////////////////////////////////////////////////////////// @@ -399,8 +398,8 @@ Common::WriteStream *GBAMPFileSystemNode::createWriteStream() { } bool GBAMPFileSystemNode::createDirectory() { - error("Not supported"); - return false; + warning("GBAMPFileSystemNode::createDirectory(): Not supported"); + return _isValid && _isDirectory; } |