aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/chroot/chroot-fs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/fs/chroot/chroot-fs.cpp')
-rw-r--r--backends/fs/chroot/chroot-fs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/fs/chroot/chroot-fs.cpp b/backends/fs/chroot/chroot-fs.cpp
index 2cbb4af9d6..f5f7c84570 100644
--- a/backends/fs/chroot/chroot-fs.cpp
+++ b/backends/fs/chroot/chroot-fs.cpp
@@ -108,6 +108,11 @@ Common::WriteStream *ChRootFilesystemNode::createWriteStream() {
return _realNode->createWriteStream();
}
+bool ChRootFilesystemNode::create(bool isDirectory) {
+ error("Not supported");
+ return false;
+}
+
Common::String ChRootFilesystemNode::addPathComponent(const Common::String &path, const Common::String &component) {
const char sep = '/';
if (path.lastChar() == sep && component.firstChar() == sep) {