diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-06-13 14:49:49 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-06-13 14:49:49 +0000 |
| commit | 9123ae323037b93f15dd19682c88804de229c1ef (patch) | |
| tree | 75b639c610f3b0f6c90f026d39e70a5b34db337a /Source/Core/Common/Src/FileUtil.cpp | |
| parent | 6d5da6b9be81e0e15b63c818b595cd338622c068 (diff) | |
Fix pad configuration dialog on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5676 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 8e6006bb58..ee7032f16f 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -648,9 +648,9 @@ const char *GetUserPath(int DirIDX) // Keep the directory setup the way it was on windows snprintf(UserDir, sizeof(UserDir), ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP); #elif defined (__linux__) - if (File::Exists(ROOT_DIR DIR_SEP USERDATA_DIR)) - snprintf(UserDir, sizeof(UserDir), ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP); - else +// if (File::Exists(ROOT_DIR DIR_SEP USERDATA_DIR)) +// snprintf(UserDir, sizeof(UserDir), ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP); +// else snprintf(UserDir, sizeof(UserDir), "%s" DIR_SEP DOLPHIN_DATA_DIR DIR_SEP, getenv("HOME")); #else snprintf(UserDir, sizeof(UserDir), "%s" DIR_SEP DOLPHIN_DATA_DIR DIR_SEP, getenv("HOME")); |
