rename paths
This commit is contained in:
parent
18cdd0e223
commit
8e250f3faa
6 changed files with 8 additions and 8 deletions
|
@ -43,7 +43,7 @@
|
|||
|
||||
OSystem_MacOSX::OSystem_MacOSX()
|
||||
:
|
||||
OSystem_POSIX("Library/Preferences/Residual Preferences") {
|
||||
OSystem_POSIX("Library/Preferences/ResidualVM Preferences") {
|
||||
}
|
||||
|
||||
void OSystem_MacOSX::initBackend() {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class OSystem_POSIX : public OSystem_SDL {
|
||||
public:
|
||||
// Let the subclasses be able to change _baseConfigName in the constructor
|
||||
OSystem_POSIX(Common::String baseConfigName = ".residualrc");
|
||||
OSystem_POSIX(Common::String baseConfigName = ".residualvmrc");
|
||||
virtual ~OSystem_POSIX() {}
|
||||
|
||||
virtual bool hasFeature(Feature f);
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
#include "common/memstream.h"
|
||||
|
||||
#define DEFAULT_CONFIG_FILE "residual.ini"
|
||||
#define DEFAULT_CONFIG_FILE "residualvm.ini"
|
||||
|
||||
void OSystem_Win32::init() {
|
||||
// Initialize File System Factory
|
||||
|
@ -170,7 +170,7 @@ Common::String OSystem_Win32::getDefaultConfigFileName() {
|
|||
}
|
||||
}
|
||||
|
||||
strcat(configFile, "\\Residual");
|
||||
strcat(configFile, "\\ResidualVM");
|
||||
if (!CreateDirectory(configFile, NULL)) {
|
||||
if (GetLastError() != ERROR_ALREADY_EXISTS)
|
||||
error("Cannot create ResidualVM application data folder");
|
||||
|
|
|
@ -43,9 +43,9 @@
|
|||
|
||||
|
||||
#ifdef MACOSX
|
||||
#define DEFAULT_SAVE_PATH "Documents/Residual Savegames"
|
||||
#define DEFAULT_SAVE_PATH "Documents/ResidualVM Savegames"
|
||||
#else
|
||||
#define DEFAULT_SAVE_PATH ".residual"
|
||||
#define DEFAULT_SAVE_PATH ".residualvm"
|
||||
#endif
|
||||
|
||||
POSIXSaveFileManager::POSIXSaveFileManager() {
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace Common {
|
|||
|
||||
DECLARE_SINGLETON(ConfigManager);
|
||||
|
||||
char const *const ConfigManager::kApplicationDomain = "residual";
|
||||
char const *const ConfigManager::kApplicationDomain = "residualvm";
|
||||
char const *const ConfigManager::kTransientDomain = "__TRANSIENT";
|
||||
|
||||
#ifdef ENABLE_KEYMAPPER
|
||||
|
|
|
@ -125,7 +125,7 @@ Common::WriteStream *OSystem::createConfigWriteStream() {
|
|||
}
|
||||
|
||||
Common::String OSystem::getDefaultConfigFileName() {
|
||||
return "residual.ini";
|
||||
return "residualvm.ini";
|
||||
}
|
||||
|
||||
Common::String OSystem::getSystemLanguage() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue