58769c80d3
* Update games to use .config/game/configs moving configurations out of the system config root. * Split modules into a separate package (packages/misc/modules). * Remove some unused packages and move a few virtual packages to packages/virtual.
49 lines
1.4 KiB
Diff
49 lines
1.4 KiB
Diff
diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp
|
|
index ec6ba7b..f689b3c 100644
|
|
--- a/src/gui/sdlmain.cpp
|
|
+++ b/src/gui/sdlmain.cpp
|
|
@@ -947,7 +947,7 @@
|
|
#elif defined(HAIKU)
|
|
#define DEFAULT_CONFIG_FILE "~/config/settings/dosbox-x/dosbox-x.conf"
|
|
#else /*linux freebsd*/
|
|
-# define DEFAULT_CONFIG_FILE "/.dosboxrc"
|
|
+# define DEFAULT_CONFIG_FILE "/dosbox-x.conf"
|
|
#endif
|
|
|
|
#if C_SET_PRIORITY
|
|
diff --git a/src/misc/cross.cpp b/src/misc/cross.cpp
|
|
index 05a5893..74daf41 100644
|
|
--- a/src/misc/cross.cpp
|
|
+++ b/src/misc/cross.cpp
|
|
@@ -89,7 +89,7 @@
|
|
#elif defined(RISCOS)
|
|
in = "/<Choices$Write>/DosBox-X";
|
|
#elif !defined(HX_DOS)
|
|
- in = "~/.config/dosbox-x";
|
|
+ in = "/storage/.config/game/configs/dosbox-x";
|
|
ResolveHomedir(in);
|
|
#endif
|
|
in += CROSS_FILESPLIT;
|
|
@@ -97,11 +97,11 @@
|
|
|
|
void Cross::GetPlatformConfigName(std::string& in) {
|
|
#ifdef WIN32
|
|
-#define DEFAULT_CONFIG_FILE "dosbox-x-" VERSION ".conf"
|
|
+#define DEFAULT_CONFIG_FILE "dosbox-x.conf"
|
|
#elif defined(MACOSX)
|
|
#define DEFAULT_CONFIG_FILE "DOSBox-X " VERSION " Preferences"
|
|
#else /*linux freebsd*/
|
|
-#define DEFAULT_CONFIG_FILE "dosbox-x-" VERSION ".conf"
|
|
+#define DEFAULT_CONFIG_FILE "dosbox-x.conf"
|
|
#endif
|
|
in = DEFAULT_CONFIG_FILE;
|
|
}
|
|
@@ -123,7 +123,7 @@
|
|
in = "/<Choices$Write>/DosBox-X";
|
|
mkdir(in.c_str(),0700);
|
|
#elif !defined(HX_DOS)
|
|
- in = "~/.config/dosbox-x";
|
|
+ in = "/storage/.config/game/configs/dosbox-x";
|
|
ResolveHomedir(in);
|
|
mkdir(in.c_str(),0700);
|
|
#endif
|