2010-07-02 14:55:41 +00:00
|
|
|
Index: pcsx2.snapshot-3369/pcsx2/gui/AppConfig.cpp
|
2010-06-15 13:07:29 +00:00
|
|
|
===================================================================
|
2010-07-02 14:55:41 +00:00
|
|
|
--- pcsx2.snapshot-3369.orig/pcsx2/gui/AppConfig.cpp
|
|
|
|
+++ pcsx2.snapshot-3369/pcsx2/gui/AppConfig.cpp
|
2010-06-30 11:18:25 +00:00
|
|
|
@@ -125,7 +125,12 @@
|
2010-06-15 13:07:29 +00:00
|
|
|
{
|
|
|
|
switch( mode )
|
|
|
|
{
|
|
|
|
+#ifdef __LINUX__
|
|
|
|
+ // By default on linux move all user data file into central configuration directory
|
|
|
|
+ case DocsFolder_User: return GetUserLocalDataDir();
|
|
|
|
+#else
|
2010-06-30 11:18:25 +00:00
|
|
|
case DocsFolder_User: return (wxDirName)Path::Combine( wxStandardPaths::Get().GetDocumentsDir(), pxGetAppName() );
|
2010-06-15 13:07:29 +00:00
|
|
|
+#endif
|
|
|
|
//case DocsFolder_CWD: return (wxDirName)wxGetCwd();
|
|
|
|
case DocsFolder_Custom: return CustomDocumentsFolder;
|
|
|
|
|