mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #1145 from PCSX2-Alpha/WX_stuffs
VideoPanel: Fix gray/ungray behaviour
This commit is contained in:
commit
62e4423f30
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue