diff options
author | Paweł Kołodziejski | 2009-11-09 14:43:05 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2009-11-09 14:43:05 +0000 |
commit | 4c2491df3b843948af9be61fa75dbbe8c0bc6043 (patch) | |
tree | 27698b0cc1bf79bad7f7d122f666524aa96aa2e8 /backends/saves | |
parent | 9290966e273330799d3d483fd23bbc3cdca1e443 (diff) | |
download | scummvm-rg350-4c2491df3b843948af9be61fa75dbbe8c0bc6043.tar.gz scummvm-rg350-4c2491df3b843948af9be61fa75dbbe8c0bc6043.tar.bz2 scummvm-rg350-4c2491df3b843948af9be61fa75dbbe8c0bc6043.zip |
added support for samsung tv
svn-id: r45777
Diffstat (limited to 'backends/saves')
-rw-r--r-- | backends/saves/posix/posix-saves.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |