aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/samsungtv
diff options
context:
space:
mode:
authorCameron Cawley2019-08-11 20:44:15 +0100
committerFilippos Karapetis2019-08-12 10:39:43 +0300
commitba2bc60043c8a1bbc651ca237783ef5e6883bda0 (patch)
treeae999e5448226e00b84c12976e6e60b4f2dc435b /backends/platform/samsungtv
parent7311252d8abbb736abcf1d01019d9ad572c95e2c (diff)
downloadscummvm-rg350-ba2bc60043c8a1bbc651ca237783ef5e6883bda0.tar.gz
scummvm-rg350-ba2bc60043c8a1bbc651ca237783ef5e6883bda0.tar.bz2
scummvm-rg350-ba2bc60043c8a1bbc651ca237783ef5e6883bda0.zip
BACKENDS: Use the default save file manager on Switch and SamsungTV
Diffstat (limited to 'backends/platform/samsungtv')
-rw-r--r--backends/platform/samsungtv/samsungtv.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/samsungtv/samsungtv.cpp b/backends/platform/samsungtv/samsungtv.cpp
index e72b1ee05d..54c2d5fa48 100644
--- a/backends/platform/samsungtv/samsungtv.cpp
+++ b/backends/platform/samsungtv/samsungtv.cpp
@@ -35,6 +35,11 @@ OSystem_SDL_SamsungTV::OSystem_SDL_SamsungTV()
}
void OSystem_SDL_SamsungTV::initBackend() {
+ // Create the savefile manager
+ if (_savefileManager == 0) {
+ _savefileManager = new DefaultSaveFileManager("/mtd_wiselink/scummvm savegames");
+ }
+
// Create the events manager
if (_eventSource == 0)
_eventSource = new SamsungTVSdlEventSource();