aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/n64/n64-fs.cpp
diff options
context:
space:
mode:
authorCameron Cawley2019-07-01 17:59:27 +0100
committerFilippos Karapetis2019-08-06 07:17:29 +0300
commitdb445bfc87600d0f87bdeeb8b3bf40a3a935f097 (patch)
tree55fc8fd3c04cdb54f7da17c9f12aa27de895782e /backends/fs/n64/n64-fs.cpp
parent66ef50cfebbcd650a6b57d896a9ba057a23cea35 (diff)
downloadscummvm-rg350-db445bfc87600d0f87bdeeb8b3bf40a3a935f097.tar.gz
scummvm-rg350-db445bfc87600d0f87bdeeb8b3bf40a3a935f097.tar.bz2
scummvm-rg350-db445bfc87600d0f87bdeeb8b3bf40a3a935f097.zip
BACKENDS: Improve AbstractFSNode::createDirectory() stubs
Diffstat (limited to 'backends/fs/n64/n64-fs.cpp')
-rw-r--r--backends/fs/n64/n64-fs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/fs/n64/n64-fs.cpp b/backends/fs/n64/n64-fs.cpp
index 4a21fb27c4..5049334ccc 100644
--- a/backends/fs/n64/n64-fs.cpp
+++ b/backends/fs/n64/n64-fs.cpp
@@ -161,8 +161,7 @@ Common::WriteStream *N64FilesystemNode::createWriteStream() {
}
bool N64FilesystemNode::createDirectory() {
- error("Not supported");
- return false;
+ return _isValid && _isDirectory;
}
#endif //#ifdef __N64__