fix some gui items which should have been available while running, and some that shouldn't be (issue 875)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2980 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-04-16 05:29:45 +00:00
parent a152639683
commit 0ef794369c
2 changed files with 10 additions and 2 deletions

View File

@ -135,14 +135,22 @@ void CConfigMain::UpdateGUI()
AlwaysUseHLEBIOS->Disable();
UseDynaRec->Disable();
UseDualCore->Disable();
DSPThread->Disable();
LockThreads->Disable();
OptimizeQuantizers->Disable();
SkipIdle->Disable();
EnableCheats->Disable();
GCSystemLang->Disable();
WiiPage->Disable();
PathsPage->Disable();
PluginPage->Disable();
GraphicSelection->Disable();
DSPSelection->Disable();
PADSelection->Disable();
WiimoteSelection->Disable();
}
}

View File

@ -831,12 +831,12 @@ void CFrame::UpdateGUI()
GetMenuBar()->FindItem(wxID_OPEN)->Enable(!initialized);
m_pSubMenuDrive->Enable(!initialized);
GetMenuBar()->FindItem(wxID_REFRESH)->Enable(!initialized);
GetMenuBar()->FindItem(IDM_BROWSE)->Enable(!initialized);
// Emulation
GetMenuBar()->FindItem(IDM_STOP)->Enable(running || paused);
m_pSubMenuLoad->Enable(initialized);
m_pSubMenuSave->Enable(initialized);
GetMenuBar()->FindItem(IDM_CONFIG_MAIN)->Enable(!running && !paused);
// Misc
GetMenuBar()->FindItem(IDM_CHANGEDISC)->Enable(initialized);