aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/ps2
diff options
context:
space:
mode:
authorAlexander Tkachev2016-05-25 16:49:17 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit17fc40a94436f970af75d6717c7a63c70eafcb12 (patch)
tree601c414c39ffa3b4ad66a91b58b6cb646a09c817 /backends/fs/ps2
parentae8e7f39f5b3e4f647a29d39d19cce7626528bb1 (diff)
downloadscummvm-rg350-17fc40a94436f970af75d6717c7a63c70eafcb12.tar.gz
scummvm-rg350-17fc40a94436f970af75d6717c7a63c70eafcb12.tar.bz2
scummvm-rg350-17fc40a94436f970af75d6717c7a63c70eafcb12.zip
CLOUD: Add AbstractFSNode::create() backends stubs
Diffstat (limited to 'backends/fs/ps2')
-rw-r--r--backends/fs/ps2/ps2-fs.cpp5
-rw-r--r--backends/fs/ps2/ps2-fs.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/backends/fs/ps2/ps2-fs.cpp b/backends/fs/ps2/ps2-fs.cpp
index 9b6e1270f1..8391e063a0 100644
--- a/backends/fs/ps2/ps2-fs.cpp
+++ b/backends/fs/ps2/ps2-fs.cpp
@@ -441,4 +441,9 @@ Common::WriteStream *Ps2FilesystemNode::createWriteStream() {
return PS2FileStream::makeFromPath(getPath(), true);
}
+bool Ps2FilesystemNode::create(bool isDirectory) {
+ error("Not supported");
+ return false;
+}
+
#endif
diff --git a/backends/fs/ps2/ps2-fs.h b/backends/fs/ps2/ps2-fs.h
index 63b866ba5b..c9da434535 100644
--- a/backends/fs/ps2/ps2-fs.h
+++ b/backends/fs/ps2/ps2-fs.h
@@ -96,6 +96,7 @@ public:
virtual Common::SeekableReadStream *createReadStream();
virtual Common::WriteStream *createWriteStream();
+ virtual bool create(bool isDirectory);
int getDev() { return 0; }
};