diff options
Diffstat (limited to 'common/system.cpp')
-rw-r--r-- | common/system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/system.cpp b/common/system.cpp index dbbfef54b2..1c89c4048d 100644 --- a/common/system.cpp +++ b/common/system.cpp @@ -116,7 +116,7 @@ void OSystem::clearScreen() { Common::SeekableReadStream *OSystem::createConfigReadStream() { Common::FSNode file(DEFAULT_CONFIG_FILE); - return file.openForReading(); + return file.createReadStream(); } Common::WriteStream *OSystem::createConfigWriteStream() { @@ -124,6 +124,6 @@ Common::WriteStream *OSystem::createConfigWriteStream() { return 0; #else Common::FSNode file(DEFAULT_CONFIG_FILE); - return file.openForWriting(); + return file.createWriteStream(); #endif } |