diff options
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/samsungtv/samsungtv.cpp | 8 | ||||
-rw-r--r-- | backends/platform/samsungtv/samsungtv.h | 13 |
2 files changed, 17 insertions, 4 deletions
diff --git a/backends/platform/samsungtv/samsungtv.cpp b/backends/platform/samsungtv/samsungtv.cpp index e391f19c57..0b9279a423 100644 --- a/backends/platform/samsungtv/samsungtv.cpp +++ b/backends/platform/samsungtv/samsungtv.cpp @@ -52,4 +52,12 @@ bool OSystem_SDL_SamsungTV::getFeatureState(Feature f) { } } +void OSystem_SDL_SamsungTV::quit() { + deinit(); +} + +const char *OSystem_SDL_SamsungTV::getConfigFileNameString() { + return "/dtv/usb/sda1/.scummvmrc"; +} + #endif diff --git a/backends/platform/samsungtv/samsungtv.h b/backends/platform/samsungtv/samsungtv.h index ec2e142b0f..fdb92e04d5 100644 --- a/backends/platform/samsungtv/samsungtv.h +++ b/backends/platform/samsungtv/samsungtv.h @@ -30,11 +30,16 @@ #include "backends/platform/sdl/posix/posix.h" -class OSystem_SDL_SamsungTV : public OSystem_SDL { +class OSystem_SDL_SamsungTV : public OSystem_POSIX { public: - virtual bool hasFeature(Feature f); - virtual void setFeatureState(Feature f, bool enable); - virtual bool getFeatureState(Feature f); + bool hasFeature(Feature f); + void setFeatureState(Feature f, bool enable); + bool getFeatureState(Feature f); + + void quit(); + +protected + const char *getConfigFileNameString(); }; #endif |