aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/ps3
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/ps3')
-rw-r--r--backends/platform/sdl/ps3/ps3.cpp5
-rw-r--r--backends/platform/sdl/ps3/ps3.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/backends/platform/sdl/ps3/ps3.cpp b/backends/platform/sdl/ps3/ps3.cpp
index b13088afd3..78b02d7e2e 100644
--- a/backends/platform/sdl/ps3/ps3.cpp
+++ b/backends/platform/sdl/ps3/ps3.cpp
@@ -78,7 +78,6 @@ Common::String OSystem_PS3::getDefaultConfigFileName() {
return PREFIX "/" + _baseConfigName;
}
-Common::WriteStream *OSystem_PS3::createLogFile() {
- Common::FSNode file(PREFIX "/scummvm.log");
- return file.createWriteStream();
+Common::String OSystem_PS3::getDefaultLogFileName() {
+ return PREFIX "/scummvm.log";
}
diff --git a/backends/platform/sdl/ps3/ps3.h b/backends/platform/sdl/ps3/ps3.h
index d812a13548..a0c0d80b0e 100644
--- a/backends/platform/sdl/ps3/ps3.h
+++ b/backends/platform/sdl/ps3/ps3.h
@@ -40,8 +40,7 @@ protected:
Common::String _baseConfigName;
virtual Common::String getDefaultConfigFileName();
-
- virtual Common::WriteStream *createLogFile();
+ virtual Common::String getDefaultLogFileName();
};
#endif