summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-08-06 12:32:07 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-08-06 12:32:07 +0000
commitfa731c0b2979e6fcaa5dc3baae300b5742706483 (patch)
treef731405ce7803a8f6926d6bbd7d8777581184ddf /Source
parent95344be6744d444c76075f9ea4866c94fec6f43f (diff)
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
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Common/Src/FileUtil.cpp5
1 files 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;
}