aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/osys_psp.cpp
diff options
context:
space:
mode:
authorMax Horn2009-01-23 03:41:36 +0000
committerMax Horn2009-01-23 03:41:36 +0000
commit8f16458e9ba830fe80f177cc2fc3bcf2af84ebef (patch)
tree36236e2af1589bca848ce28d7606ef6e789431e8 /backends/platform/psp/osys_psp.cpp
parente4b013f616818f6da4cf7a1896f31d1429ef8f04 (diff)
downloadscummvm-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/psp/osys_psp.cpp')
-rw-r--r--backends/platform/psp/osys_psp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp
index 38208718de..de7ec0631c 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -645,10 +645,10 @@ void OSystem_PSP::displayMessageOnOSD(const char *msg) {
Common::SeekableReadStream *OSystem_PSP::createConfigReadStream() {
Common::FSNode file(PSP_CONFIG_FILE);
- return file.openForReading();
+ return file.createReadStream();
}
Common::WriteStream *OSystem_PSP::createConfigWriteStream() {
Common::FSNode file(PSP_CONFIG_FILE);
- return file.openForWriting();
+ return file.createWriteStream();
}