From 488bbb267a4a96db51794d424131817a8afc50c6 Mon Sep 17 00:00:00 2001 From: Cpasjuste Date: Thu, 20 Sep 2018 16:33:08 +0200 Subject: SWITCH: add nintendo switch support --- backends/saves/posix/posix-saves.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/saves') diff --git a/backends/saves/posix/posix-saves.cpp b/backends/saves/posix/posix-saves.cpp index 444aa63f15..35f9fa2050 100644 --- a/backends/saves/posix/posix-saves.cpp +++ b/backends/saves/posix/posix-saves.cpp @@ -47,6 +47,9 @@ POSIXSaveFileManager::POSIXSaveFileManager() { // Register default savepath. #if defined(SAMSUNGTV) ConfMan.registerDefault("savepath", "/mtd_wiselink/scummvm savegames"); +#elif defined(NINTENDO_SWITCH) + Posix::assureDirectoryExists("./saves", nullptr); + ConfMan.registerDefault("savepath", "./saves"); #else Common::String savePath; -- cgit v1.2.3