diff options
Diffstat (limited to 'backends/platform/samsungtv')
-rw-r--r-- | backends/platform/samsungtv/samsungtv.cpp | 8 | ||||
-rw-r--r-- | backends/platform/samsungtv/samsungtv.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/backends/platform/samsungtv/samsungtv.cpp b/backends/platform/samsungtv/samsungtv.cpp index a766916fab..e72b1ee05d 100644 --- a/backends/platform/samsungtv/samsungtv.cpp +++ b/backends/platform/samsungtv/samsungtv.cpp @@ -57,4 +57,12 @@ void OSystem_SDL_SamsungTV::fatalError() { for (;;) {} } +Common::String OSystem_SDL_SamsungTV::getDefaultLogFileName() { + if (!Posix::assureDirectoryExists("/mtd_ram", nullptr)) { + return Common::String(); + } + + return "/mtd_ram/scummvm.log"; +} + #endif diff --git a/backends/platform/samsungtv/samsungtv.h b/backends/platform/samsungtv/samsungtv.h index fdd1015c8a..aad946aa0a 100644 --- a/backends/platform/samsungtv/samsungtv.h +++ b/backends/platform/samsungtv/samsungtv.h @@ -34,6 +34,9 @@ public: virtual void initBackend(); virtual void quit(); virtual void fatalError(); + +protected: + virtual Common::String getDefaultLogFileName(); }; #endif |