2010-06-30 11:18:25 +00:00
|
|
|
Index: pcsx2.snapshot-3343/pcsx2/gui/AppConfig.cpp
|
2010-06-15 13:07:29 +00:00
|
|
|
===================================================================
|
2010-06-30 11:18:25 +00:00
|
|
|
--- 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 @@
|
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;
|
|
|
|
|