diff options
Diffstat (limited to 'backends/platform/iphone/osys_iphone.cpp')
-rw-r--r-- | backends/platform/iphone/osys_iphone.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp index 521e91a87e..6ca5a52928 100644 --- a/backends/platform/iphone/osys_iphone.cpp +++ b/backends/platform/iphone/osys_iphone.cpp @@ -1312,8 +1312,14 @@ OSystem *OSystem_IPHONE_create() { return new OSystem_IPHONE(); } -const char* OSystem_IPHONE::getConfigPath() { - return SCUMMVM_PREFS_PATH; +Common::SeekableReadStream *OSystem_IPHONE::openConfigFileForReading() { + Common::FSNode file(SCUMMVM_PREFS_PATH); + return file.openForReading(); +} + +Common::WriteStream *OSystem_IPHONE::openConfigFileForWriting() { + Common::FSNode file(SCUMMVM_PREFS_PATH); + return file.openForWriting(); } void iphone_main(int argc, char *argv[]) { |