summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/SysConf.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-02-28 20:40:15 +0000
committerGlenn Rice <glennricster@gmail.com>2011-02-28 20:40:15 +0000
commitba54fac9eb74be6f73e20e2de953cf6f355be57f (patch)
treeee496d869da4f8a7026b94991fe33f560cb9851a /Source/Core/Common/Src/SysConf.cpp
parent1b8f4760247934e3bac649d45a887d304b5eb724 (diff)
Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7265 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/SysConf.cpp')
-rw-r--r--Source/Core/Common/Src/SysConf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/SysConf.cpp b/Source/Core/Common/Src/SysConf.cpp
index a1993fc4a3..9c7cd6bad7 100644
--- a/Source/Core/Common/Src/SysConf.cpp
+++ b/Source/Core/Common/Src/SysConf.cpp
@@ -21,7 +21,7 @@
SysConf::SysConf()
: m_IsValid(false)
{
- if (LoadFromFile(File::GetUserPath(F_WIISYSCONF_IDX)))
+ if (LoadFromFile(File::GetUserPath(F_WIISYSCONF_IDX).c_str()))
m_IsValid = true;
}