Remove unused progressive scan option from iso properties, and disable audio settings while a game is running.

This commit is contained in:
Rachel Bryk
2013-01-03 16:40:18 -05:00
parent 3da05af30a
commit 4f531fe122
3 changed files with 7 additions and 21 deletions

View File

@ -618,6 +618,12 @@ void CConfigMain::CreateGUIControls()
FrequencySelection->Append(wxString::Format(_("%d Hz"), 48000));
FrequencySelection->Append(wxString::Format(_("%d Hz"), 32000));
if (Core::GetState() != Core::CORE_UNINITIALIZED)
{
FrequencySelection->Disable();
BackendSelection->Disable();
}
// Create sizer and add items to dialog
wxStaticBoxSizer *sbAudioSettings = new wxStaticBoxSizer(wxVERTICAL, AudioPage, _("Sound Settings"));
sbAudioSettings->Add(DSPEngine, 0, wxALL | wxEXPAND, 5);