Minor bugfixes : disable Refresh list and Load wii menu when game is running and fix silly init of njoy's rumble

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2973 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2009-04-15 20:19:25 +00:00
parent 66ca49d3b8
commit c857f71e80
9 changed files with 54 additions and 33 deletions

View File

@ -167,7 +167,7 @@ void CFrame::CreateMenu()
if (DiscIO::CNANDContentManager::Access().GetNANDLoader(FULL_WII_MENU_DIR).IsValid())
{
toolsMenu->Append(IDM_LOAD_WII_MENU, _T("Load Wii Menu"));
m_pMenuBootWii = toolsMenu->Append(IDM_LOAD_WII_MENU, _T("Load Wii Menu"));
}
m_pMenuBar->Append(toolsMenu, _T("&Tools"));
@ -561,7 +561,7 @@ void CFrame::DoStop()
#ifdef MUSICMOD
MM_OnStop();
#endif
// Rerecording
#ifdef RERECORDING
Core::RerecordingStop();
@ -583,7 +583,7 @@ void CFrame::DoStop()
if (bRenderToMain)
while(Core::GetState() != Core::CORE_UNINITIALIZED) SLEEP(10);
#endif
UpdateGUI();
}
}
@ -837,6 +837,7 @@ void CFrame::UpdateGUI()
// Misc
m_pMenuChangeDisc->Enable(initialized);
m_pMenuBootWii->Enable(!initialized);
if (running)
{