diff options
author | Max Horn | 2009-01-23 03:30:40 +0000 |
---|---|---|
committer | Max Horn | 2009-01-23 03:30:40 +0000 |
commit | e4b013f616818f6da4cf7a1896f31d1429ef8f04 (patch) | |
tree | 81ea72ac2ccb737bd8e2934af9335c1f56f46c18 /backends/platform/psp/osys_psp.cpp | |
parent | 3e7155981e020bc19540abc8486b816cb57c8a41 (diff) | |
download | scummvm-rg350-e4b013f616818f6da4cf7a1896f31d1429ef8f04.tar.gz scummvm-rg350-e4b013f616818f6da4cf7a1896f31d1429ef8f04.tar.bz2 scummvm-rg350-e4b013f616818f6da4cf7a1896f31d1429ef8f04.zip |
Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
Diffstat (limited to 'backends/platform/psp/osys_psp.cpp')
-rw-r--r-- | backends/platform/psp/osys_psp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp index 72dd05e664..38208718de 100644 --- a/backends/platform/psp/osys_psp.cpp +++ b/backends/platform/psp/osys_psp.cpp @@ -643,12 +643,12 @@ void OSystem_PSP::displayMessageOnOSD(const char *msg) { #define PSP_CONFIG_FILE "ms0:/scummvm.ini" -Common::SeekableReadStream *OSystem_PSP::openConfigFileForReading() { +Common::SeekableReadStream *OSystem_PSP::createConfigReadStream() { Common::FSNode file(PSP_CONFIG_FILE); return file.openForReading(); } -Common::WriteStream *OSystem_PSP::openConfigFileForWriting() { +Common::WriteStream *OSystem_PSP::createConfigWriteStream() { Common::FSNode file(PSP_CONFIG_FILE); return file.openForWriting(); } |