mirror of https://github.com/PCSX2/pcsx2.git
18 lines
762 B
Diff
18 lines
762 B
Diff
Index: pcsx2.snapshot-3343/pcsx2/gui/AppConfig.cpp
|
|
===================================================================
|
|
--- pcsx2.snapshot-3343.orig/pcsx2/gui/AppConfig.cpp 2010-06-29 13:28:38.859568437 +0200
|
|
+++ pcsx2.snapshot-3343/pcsx2/gui/AppConfig.cpp 2010-06-29 13:28:39.100612322 +0200
|
|
@@ -125,7 +125,12 @@
|
|
{
|
|
switch( mode )
|
|
{
|
|
+#ifdef __LINUX__
|
|
+ // By default on linux move all user data file into central configuration directory
|
|
+ case DocsFolder_User: return GetUserLocalDataDir();
|
|
+#else
|
|
case DocsFolder_User: return (wxDirName)Path::Combine( wxStandardPaths::Get().GetDocumentsDir(), pxGetAppName() );
|
|
+#endif
|
|
//case DocsFolder_CWD: return (wxDirName)wxGetCwd();
|
|
case DocsFolder_Custom: return CustomDocumentsFolder;
|
|
|