aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/switch/switch.cpp
diff options
context:
space:
mode:
authorCameron Cawley2019-08-04 21:45:17 +0100
committerFilippos Karapetis2019-08-05 10:01:30 +0300
commit8b8fb6d3a4748ded6f47cf057fc22f9aeab225d0 (patch)
tree363e8777d147e90a75ece84e6aca42be60697dc6 /backends/platform/sdl/switch/switch.cpp
parentd10c69d0d1c596d4ecce9cbf967c75f3cf95a47b (diff)
downloadscummvm-rg350-8b8fb6d3a4748ded6f47cf057fc22f9aeab225d0.tar.gz
scummvm-rg350-8b8fb6d3a4748ded6f47cf057fc22f9aeab225d0.tar.bz2
scummvm-rg350-8b8fb6d3a4748ded6f47cf057fc22f9aeab225d0.zip
SDL: Simplify implementation of createLogFile()
Diffstat (limited to 'backends/platform/sdl/switch/switch.cpp')
-rw-r--r--backends/platform/sdl/switch/switch.cpp5
1 files changed, 2 insertions, 3 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";
}