Merge pull request #1145 from PCSX2-Alpha/WX_stuffs

VideoPanel: Fix gray/ungray behaviour
This commit is contained in:
Jonathan Li 2016-01-30 12:17:14 +00:00
commit 62e4423f30
1 changed files with 5 additions and 3 deletions

View File

@ -231,10 +231,12 @@ void Panels::FrameSkipPanel::ApplyConfigToGui( AppConfig& configToApply, int fla
const AppConfig::FramerateOptions& appfps( configToApply.Framerate );
const Pcsx2Config::GSOptions& gsconf( configToApply.EmuOptions.GS );
m_radio_SkipMode ->SetSelection( appfps.SkipOnLimit ? 2 : (appfps.SkipOnTurbo ? 1 : 0) );
m_radio_SkipMode->SetSelection( appfps.SkipOnLimit ? 2 : (appfps.SkipOnTurbo ? 1 : 0) );
m_spin_FramesToDraw ->SetValue( gsconf.FramesToDraw );
m_spin_FramesToSkip ->SetValue( gsconf.FramesToSkip );
m_spin_FramesToDraw->SetValue( gsconf.FramesToDraw );
m_spin_FramesToDraw->Enable(!configToApply.EnablePresets);
m_spin_FramesToSkip->SetValue( gsconf.FramesToSkip );
m_spin_FramesToSkip->Enable(!configToApply.EnablePresets);
this->Enable(!configToApply.EnablePresets);
}