From 4c2491df3b843948af9be61fa75dbbe8c0bc6043 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Mon, 9 Nov 2009 14:43:05 +0000 Subject: added support for samsung tv svn-id: r45777 --- backends/saves/posix/posix-saves.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/saves') diff --git a/backends/saves/posix/posix-saves.cpp b/backends/saves/posix/posix-saves.cpp index 0827575edf..5b13513bcb 100644 --- a/backends/saves/posix/posix-saves.cpp +++ b/backends/saves/posix/posix-saves.cpp @@ -44,6 +44,9 @@ POSIXSaveFileManager::POSIXSaveFileManager() { // Register default savepath based on HOME +#if defined(SAMSUNGTV) + ConfMan.registerDefault("savepath", "/dtv/usb/sda1/.scummvm"); +#else Common::String savePath; const char *home = getenv("HOME"); if (home && *home && strlen(home) < MAXPATHLEN) { @@ -51,6 +54,7 @@ POSIXSaveFileManager::POSIXSaveFileManager() { savePath += "/" DEFAULT_SAVE_PATH; ConfMan.registerDefault("savepath", savePath); } +#endif } /* POSIXSaveFileManager::POSIXSaveFileManager(const Common::String &defaultSavepath) -- cgit v1.2.3