aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/ps2
diff options
context:
space:
mode:
authorD G Turner2017-01-12 08:22:40 +0000
committerD G Turner2017-01-12 08:22:40 +0000
commitadbf18abca0d6a43830645ab0d8ce492bbbd4971 (patch)
tree60f64382d27a1fcede127c89c2fdd868007c3d58 /backends/fs/ps2
parent6c4b89e6dc439299af68afaa75b366e4aece45c9 (diff)
downloadscummvm-rg350-adbf18abca0d6a43830645ab0d8ce492bbbd4971.tar.gz
scummvm-rg350-adbf18abca0d6a43830645ab0d8ce492bbbd4971.tar.bz2
scummvm-rg350-adbf18abca0d6a43830645ab0d8ce492bbbd4971.zip
BACKENDS: Fix Shadowing Compiler Warning for isDirectory symbol.
This should ensure that any future cut-and-paste for new backends do not repeat this same warning issue.
Diffstat (limited to 'backends/fs/ps2')
-rw-r--r--backends/fs/ps2/ps2-fs.cpp2
-rw-r--r--backends/fs/ps2/ps2-fs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/ps2/ps2-fs.cpp b/backends/fs/ps2/ps2-fs.cpp
index 8391e063a0..eba740e948 100644
--- a/backends/fs/ps2/ps2-fs.cpp
+++ b/backends/fs/ps2/ps2-fs.cpp
@@ -441,7 +441,7 @@ Common::WriteStream *Ps2FilesystemNode::createWriteStream() {
return PS2FileStream::makeFromPath(getPath(), true);
}
-bool Ps2FilesystemNode::create(bool isDirectory) {
+bool Ps2FilesystemNode::create(bool isDirectoryFlag) {
error("Not supported");
return false;
}
diff --git a/backends/fs/ps2/ps2-fs.h b/backends/fs/ps2/ps2-fs.h
index c9da434535..ca476eca9f 100644
--- a/backends/fs/ps2/ps2-fs.h
+++ b/backends/fs/ps2/ps2-fs.h
@@ -96,7 +96,7 @@ public:
virtual Common::SeekableReadStream *createReadStream();
virtual Common::WriteStream *createWriteStream();
- virtual bool create(bool isDirectory);
+ virtual bool create(bool isDirectoryFlag);
int getDev() { return 0; }
};