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
This commit is contained in:
parent
e83104c5db
commit
33a9e4c674
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue