From fa731c0b2979e6fcaa5dc3baae300b5742706483 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 6 Aug 2009 12:32:07 +0000 Subject: [PATCH] revert changes to GetSysDirectory from last commit, I was trying to fix my issue with CWD going all wacky (unsuccessfully). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3943 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 0879ede119..99c74c26ad 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -579,15 +579,14 @@ std::string GetSysDirectory() sysDir = GetBundleDirectory(); sysDir += DIR_SEP; sysDir += SYSDATA_DIR; - sysDir += DIR_SEP; #elif defined __linux__ sysDir = SYSDATA_DIR; - sysDir += DIR_SEP; // FIXME global install #else - sysDir = FULL_SYSDATA_DIR; + sysDir = SYSDATA_DIR; #endif + sysDir += DIR_SEP; INFO_LOG(COMMON, "GetSysDirectory: Setting to %s:", sysDir.c_str()); return sysDir; }