aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/samsungtv
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/samsungtv')
-rw-r--r--backends/platform/samsungtv/samsungtv.cpp9
-rw-r--r--backends/platform/samsungtv/samsungtv.h3
2 files changed, 5 insertions, 7 deletions
diff --git a/backends/platform/samsungtv/samsungtv.cpp b/backends/platform/samsungtv/samsungtv.cpp
index bee71b7ff2..5a103793fa 100644
--- a/backends/platform/samsungtv/samsungtv.cpp
+++ b/backends/platform/samsungtv/samsungtv.cpp
@@ -31,11 +31,6 @@
#include "backends/fs/posix/posix-fs.h"
#include "common/textconsole.h"
-OSystem_SDL_SamsungTV::OSystem_SDL_SamsungTV()
- :
- OSystem_POSIX("/mtd_rwarea/.scummvmrc") {
-}
-
void OSystem_SDL_SamsungTV::initBackend() {
// Create the savefile manager
if (_savefileManager == 0) {
@@ -63,6 +58,10 @@ void OSystem_SDL_SamsungTV::fatalError() {
for (;;) {}
}
+Common::String OSystem_SDL_SamsungTV::getDefaultConfigFileName() {
+ return "/mtd_rwarea/.scummvmrc";
+}
+
Common::String OSystem_SDL_SamsungTV::getDefaultLogFileName() {
if (!Posix::assureDirectoryExists("/mtd_ram", nullptr)) {
return Common::String();
diff --git a/backends/platform/samsungtv/samsungtv.h b/backends/platform/samsungtv/samsungtv.h
index aad946aa0a..0b98297d79 100644
--- a/backends/platform/samsungtv/samsungtv.h
+++ b/backends/platform/samsungtv/samsungtv.h
@@ -29,13 +29,12 @@
class OSystem_SDL_SamsungTV : public OSystem_POSIX {
public:
- OSystem_SDL_SamsungTV();
-
virtual void initBackend();
virtual void quit();
virtual void fatalError();
protected:
+ virtual Common::String getDefaultConfigFileName();
virtual Common::String getDefaultLogFileName();
};