From 8f16458e9ba830fe80f177cc2fc3bcf2af84ebef Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 23 Jan 2009 03:41:36 +0000 Subject: Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear svn-id: r36014 --- backends/platform/ps2/systemps2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/ps2/systemps2.cpp') 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) { -- cgit v1.2.3