diff options
Diffstat (limited to 'backends/saves')
| -rw-r--r-- | backends/saves/posix/posix-saves.cpp | 11 | ||||
| -rw-r--r-- | backends/saves/posix/posix-saves.h | 3 | 
2 files changed, 3 insertions, 11 deletions
| diff --git a/backends/saves/posix/posix-saves.cpp b/backends/saves/posix/posix-saves.cpp index 37545c77c2..e04609be5b 100644 --- a/backends/saves/posix/posix-saves.cpp +++ b/backends/saves/posix/posix-saves.cpp @@ -28,7 +28,7 @@  #include "common/scummsys.h" -#if defined(UNIX) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER) +#if defined(POSIX) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)  #include "backends/saves/posix/posix-saves.h" @@ -51,7 +51,7 @@  POSIXSaveFileManager::POSIXSaveFileManager() {  	// Register default savepath based on HOME  #if defined(SAMSUNGTV) -	ConfMan.registerDefault("savepath", "/mtd_rwarea/scummvm/savegames"); +	ConfMan.registerDefault("savepath", "/mtd_wiselink/scummvm savegames");  #else  	Common::String savePath;  	const char *home = getenv("HOME"); @@ -83,13 +83,7 @@ POSIXSaveFileManager::POSIXSaveFileManager() {  	}  #endif  } -/* -POSIXSaveFileManager::POSIXSaveFileManager(const Common::String &defaultSavepath) -	: DefaultSaveFileManager(defaultSavepath) { -} -*/ -#if defined(UNIX)  void POSIXSaveFileManager::checkPath(const Common::FSNode &dir) {  	const Common::String path = dir.getPath();  	clearError(); @@ -154,6 +148,5 @@ void POSIXSaveFileManager::checkPath(const Common::FSNode &dir) {  		}  	}  } -#endif  #endif diff --git a/backends/saves/posix/posix-saves.h b/backends/saves/posix/posix-saves.h index b7ee7ff5b8..160075d3db 100644 --- a/backends/saves/posix/posix-saves.h +++ b/backends/saves/posix/posix-saves.h @@ -25,7 +25,7 @@  #include "backends/saves/default/default-saves.h" -#if defined(UNIX) +#if defined(POSIX) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER)  /**   * Customization of the DefaultSaveFileManager for POSIX platforms.   * The only two differences are that the default constructor sets @@ -35,7 +35,6 @@  class POSIXSaveFileManager : public DefaultSaveFileManager {  public:  	POSIXSaveFileManager(); -//	POSIXSaveFileManager(const Common::String &defaultSavepath);  protected:  	/** | 
