aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/switch
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/switch')
-rw-r--r--backends/platform/sdl/switch/switch.cpp5
-rw-r--r--backends/platform/sdl/switch/switch.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/backends/platform/sdl/switch/switch.cpp b/backends/platform/sdl/switch/switch.cpp
index ef44cb4c4c..85e7b7a458 100644
--- a/backends/platform/sdl/switch/switch.cpp
+++ b/backends/platform/sdl/switch/switch.cpp
@@ -124,7 +124,6 @@ Common::String OSystem_Switch::getDefaultConfigFileName() {
return _baseConfigName;
}
-Common::WriteStream *OSystem_Switch::createLogFile() {
- Common::FSNode file("scummvm.log");
- return file.createWriteStream();
+Common::String OSystem_Switch::getDefaultLogFileName() {
+ return "scummvm.log";
}
diff --git a/backends/platform/sdl/switch/switch.h b/backends/platform/sdl/switch/switch.h
index b9e41e6fe4..61b4f3c058 100644
--- a/backends/platform/sdl/switch/switch.h
+++ b/backends/platform/sdl/switch/switch.h
@@ -44,8 +44,7 @@ protected:
Common::String _baseConfigName;
virtual Common::String getDefaultConfigFileName() override;
-
- virtual Common::WriteStream *createLogFile() override;
+ virtual Common::String getDefaultLogFileName() override;
};
#endif