aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/osys_psp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/psp/osys_psp.cpp')
-rw-r--r--backends/platform/psp/osys_psp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp
index 69be0abcb2..cf65ef13c9 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -677,3 +677,14 @@ void OSystem_PSP::setWindowCaption(const char *caption) {
void OSystem_PSP::displayMessageOnOSD(const char *msg) {
}
+#define PSP_CONFIG_FILE "ms0:/scummvm.ini"
+
+Common::SeekableReadStream *OSystem_PSP::openConfigFileForReading() {
+ Common::FSNode file(PSP_CONFIG_FILE);
+ return file.openForReading();
+}
+
+Common::WriteStream *OSystem_PSP::openConfigFileForWriting() {
+ Common::FSNode file(PSP_CONFIG_FILE);
+ return file.openForWriting();
+}