fix a small oversight to changing NAND root, update locations of content.map and uid.sys

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7587 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2011-06-05 06:30:01 +00:00
parent 450b5c9c33
commit 2c4bc6d94c
3 changed files with 42 additions and 8 deletions

View File

@ -28,6 +28,7 @@
#include "HW/DSPHLE/DSPHLE.h"
#include "HW/DSPLLE/DSPLLE.h"
#include "IPC_HLE/WII_IPC_HLE.h"
#include "NANDContentLoader.h"
#include "Globals.h" // Local
#include "ConfigMain.h"
@ -1202,6 +1203,8 @@ void CConfigMain::NANDRootChanged(wxFileDirPickerEvent& WXUNUSED (event))
SConfig::GetInstance().m_NANDPath = File::GetUserPath(D_WIIROOT_IDX, std::string(NANDRoot->GetPath().mb_str()));
NANDRoot->SetPath(wxString(NANDPath.c_str(), *wxConvCurrent));
SConfig::GetInstance().m_SYSCONF->UpdateLocation();
DiscIO::cUIDsys::UpdateLocation();
DiscIO::CSharedContent::UpdateLocation();
main_frame->UpdateWiiMenuChoice();
}