/[pcsx2_0.9.7]/trunk/debian-unstable-upstream/patches/05_move_data_to_config.patch
ViewVC logotype

Contents of /trunk/debian-unstable-upstream/patches/05_move_data_to_config.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 401 - (show annotations) (download)
Fri Feb 25 17:31:09 2011 UTC (10 years, 2 months ago) by william
File size: 743 byte(s)
Auto Commited Import of: pcsx2-0.9.7-DEBUG (upstream: v0.9.7.4358 local: v0.9.7.313-latest) in ./trunk
1 By default, move all users datas into XDG_CONFIG_DIR
2 Index: pcsx2.snapshot-3369/pcsx2/gui/AppConfig.cpp
3 ===================================================================
4 --- pcsx2.snapshot-3369.orig/pcsx2/gui/AppConfig.cpp
5 +++ pcsx2.snapshot-3369/pcsx2/gui/AppConfig.cpp
6 @@ -125,7 +125,12 @@
7 {
8 switch( mode )
9 {
10 +#ifdef __LINUX__
11 + // By default on linux move all user data file into central configuration directory
12 + case DocsFolder_User: return GetUserLocalDataDir();
13 +#else
14 case DocsFolder_User: return (wxDirName)Path::Combine( wxStandardPaths::Get().GetDocumentsDir(), pxGetAppName() );
15 +#endif
16 //case DocsFolder_CWD: return (wxDirName)wxGetCwd();
17 case DocsFolder_Custom: return CustomDocumentsFolder;
18

  ViewVC Help
Powered by ViewVC 1.1.22