From 66ef50cfebbcd650a6b57d896a9ba057a23cea35 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Mon, 1 Jul 2019 17:33:36 +0100 Subject: BACKENDS: Rename and simplify AbstractFSNode::create() --- backends/fs/ds/ds-fs.cpp | 4 ++-- backends/fs/ds/ds-fs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/fs/ds') 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 { -- cgit v1.2.3