diff options
author | Cameron Cawley | 2019-07-01 17:33:36 +0100 |
---|---|---|
committer | Filippos Karapetis | 2019-08-06 07:17:29 +0300 |
commit | 66ef50cfebbcd650a6b57d896a9ba057a23cea35 (patch) | |
tree | 4fff70c1ace46f819798461a4250c62452011543 /backends/fs/ds | |
parent | 8666e9564f25d2f0923ac6e23b74d107a17d645e (diff) | |
download | scummvm-rg350-66ef50cfebbcd650a6b57d896a9ba057a23cea35.tar.gz scummvm-rg350-66ef50cfebbcd650a6b57d896a9ba057a23cea35.tar.bz2 scummvm-rg350-66ef50cfebbcd650a6b57d896a9ba057a23cea35.zip |
BACKENDS: Rename and simplify AbstractFSNode::create()
Diffstat (limited to 'backends/fs/ds')
-rw-r--r-- | backends/fs/ds/ds-fs.cpp | 4 | ||||
-rw-r--r-- | backends/fs/ds/ds-fs.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backends/fs/ds/ds-fs.cpp b/backends/fs/ds/ds-fs.cpp index 8c51f109dc..8498a77751 100644 --- a/backends/fs/ds/ds-fs.cpp +++ b/backends/fs/ds/ds-fs.cpp @@ -211,7 +211,7 @@ Common::WriteStream *DSFileSystemNode::createWriteStream() { return Common::wrapBufferedWriteStream(stream, WRITE_BUFFER_SIZE); } -bool DSFileSystemNode::create(bool isDirectoryFlag) { +bool DSFileSystemNode::createDirectory() { error("Not supported"); return false; } @@ -398,7 +398,7 @@ Common::WriteStream *GBAMPFileSystemNode::createWriteStream() { return Common::wrapBufferedWriteStream(stream, WRITE_BUFFER_SIZE); } -bool GBAMPFileSystemNode::create(bool isDirectoryFlag) { +bool GBAMPFileSystemNode::createDirectory() { error("Not supported"); return false; } diff --git a/backends/fs/ds/ds-fs.h b/backends/fs/ds/ds-fs.h index 12dd6d6a59..37708478de 100644 --- a/backends/fs/ds/ds-fs.h +++ b/backends/fs/ds/ds-fs.h @@ -91,7 +91,7 @@ public: virtual Common::SeekableReadStream *createReadStream(); virtual Common::WriteStream *createWriteStream(); - virtual bool create(bool isDirectoryFlag); + virtual bool createDirectory(); /** * Returns the zip file this node points to. @@ -157,7 +157,7 @@ public: virtual Common::SeekableReadStream *createReadStream(); virtual Common::WriteStream *createWriteStream(); - virtual bool create(bool isDirectoryFlag); + virtual bool createDirectory(); }; struct fileHandle { |