From 33a9e4c6749f96ea8831b8054b6e2971499b3986 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 5 Feb 2010 16:54:45 +0000 Subject: [PATCH] This should fix the program not finding SYSCONF on macs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5016 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp index 0e5ccbc2a8..37ab2b1d0a 100644 --- a/Source/Core/DolphinWX/Src/Main.cpp +++ b/Source/Core/DolphinWX/Src/Main.cpp @@ -310,7 +310,7 @@ bool DolphinApp::OnInit() //copy user wii shared2 SYSCONF if not exist if (!File::Exists(File::GetUserPath(F_WIISYSCONF_IDX))) - File::Copy((File::GetBundleDirectory() + DIR_SEP + "Contents" + DIR_SEP + USERDATA_DIR + DIR_SEP + WII_SYSCONF_DIR).c_str(), + File::Copy((File::GetBundleDirectory() + DIR_SEP + "Contents" + DIR_SEP + USERDATA_DIR + DIR_SEP + WII_SYSCONF_DIR + DIR_SEP + WII_SYSCONF).c_str(), File::GetUserPath(F_WIISYSCONF_IDX)); SConfig::GetInstance().m_SYSCONF->Reload(); //TODO : if not exist copy game config dir in user dir and detect the revision to upgrade if necessary