Reload sysconf file on stop in order to preserve changes committed during emulation

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7277 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2011-03-03 00:07:33 +00:00
commit bda0794adb
3 changed files with 31 additions and 9 deletions

View file

@ -323,6 +323,10 @@ void Stop() // - Hammertime!
Pad::Shutdown();
Wiimote::Shutdown();
g_video_backend->Shutdown();
// Reload sysconf file in order to see changes committed during emulation
if (_CoreParameter.bWii)
SConfig::GetInstance().m_SYSCONF->Reload();
INFO_LOG(CONSOLE, "Stop [Main Thread]\t\t---- Shutdown complete ----");
}