From 43076bdb91c4582bc272fbc05301d39b40182d7a Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sun, 13 Jun 2010 14:52:11 +0000 Subject: [PATCH] Oops, that wasn't supposed to be in there. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5677 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index ee7032f16f..8e6006bb58 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"));