aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/psp
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/psp
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/psp')
-rw-r--r--backends/fs/psp/psp-fs.cpp2
-rw-r--r--backends/fs/psp/psp-fs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/psp/psp-fs.cpp b/backends/fs/psp/psp-fs.cpp
index 6bd5e93435..c69592ea99 100644
--- a/backends/fs/psp/psp-fs.cpp
+++ b/backends/fs/psp/psp-fs.cpp
@@ -239,7 +239,7 @@ Common::WriteStream *PSPFilesystemNode::createWriteStream() {
return Common::wrapBufferedWriteStream(stream, WRITE_BUFFER_SIZE);
}
-bool PSPFilesystemNode::create(bool isDirectory) {
+bool PSPFilesystemNode::create(bool isDirectoryFlag) {
error("Not supported");
return false;
}
diff --git a/backends/fs/psp/psp-fs.h b/backends/fs/psp/psp-fs.h
index 648544650b..47c6d04a70 100644
--- a/backends/fs/psp/psp-fs.h
+++ b/backends/fs/psp/psp-fs.h
@@ -65,7 +65,7 @@ public:
virtual Common::SeekableReadStream *createReadStream();
virtual Common::WriteStream *createWriteStream();
- virtual bool create(bool isDirectory);
+ virtual bool create(bool isDirectoryFlag);
};
#endif