diff options
author | Max Horn | 2009-01-23 03:41:36 +0000 |
---|---|---|
committer | Max Horn | 2009-01-23 03:41:36 +0000 |
commit | 8f16458e9ba830fe80f177cc2fc3bcf2af84ebef (patch) | |
tree | 36236e2af1589bca848ce28d7606ef6e789431e8 /backends/platform/ps2 | |
parent | e4b013f616818f6da4cf7a1896f31d1429ef8f04 (diff) | |
download | scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.tar.gz scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.tar.bz2 scummvm-rg350-8f16458e9ba830fe80f177cc2fc3bcf2af84ebef.zip |
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r-- | backends/platform/ps2/systemps2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index a9b3b9f29f..e4852e67fa 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -776,14 +776,14 @@ Common::SeekableReadStream *OSystem_PS2::createConfigReadStream() { char configFile[MAXPATHLEN]; makeConfigPath(configFile); Common::FSNode file(configFile); - return file.openForReading(); + return file.createReadStream(); } Common::WriteStream *OSystem_PS2::createConfigWriteStream() { char configFile[MAXPATHLEN]; makeConfigPath(configFile); Common::FSNode file(configFile); - return file.openForWriting(); + return file.createWriteStream(); } bool OSystem_PS2::runningFromHost(void) { |