mirror of https://github.com/PCSX2/pcsx2.git
Wx: Remove sync to host refresh rate option
Still available in Qt obviously. Apparently there's COM reinitialization issues on the CPU thread in wx, and I don't want to deal with that nonsense.
This commit is contained in:
parent
fbf9585b5a
commit
999b2267c0
|
@ -265,7 +265,6 @@ namespace Panels
|
||||||
|
|
||||||
pxCheckBox* m_check_HideMouse;
|
pxCheckBox* m_check_HideMouse;
|
||||||
pxCheckBox* m_check_DclickFullscreen;
|
pxCheckBox* m_check_DclickFullscreen;
|
||||||
pxCheckBox* m_check_SyncToHostRefreshRate;
|
|
||||||
|
|
||||||
wxTextCtrl* m_text_WindowWidth;
|
wxTextCtrl* m_text_WindowWidth;
|
||||||
wxTextCtrl* m_text_WindowHeight;
|
wxTextCtrl* m_text_WindowHeight;
|
||||||
|
|
|
@ -74,7 +74,6 @@ Panels::GSWindowSettingsPanel::GSWindowSettingsPanel(wxWindow* parent)
|
||||||
// Implement custom hotkeys (Alt + Enter) with translatable string intact + not blank in GUI.
|
// Implement custom hotkeys (Alt + Enter) with translatable string intact + not blank in GUI.
|
||||||
m_check_Fullscreen = new pxCheckBox(this, _("Start in fullscreen mode by default") + wxString(" (") + wxGetApp().GlobalAccels->findKeycodeWithCommandId("FullscreenToggle").toTitleizedString() + wxString(")"));
|
m_check_Fullscreen = new pxCheckBox(this, _("Start in fullscreen mode by default") + wxString(" (") + wxGetApp().GlobalAccels->findKeycodeWithCommandId("FullscreenToggle").toTitleizedString() + wxString(")"));
|
||||||
m_check_DclickFullscreen = new pxCheckBox(this, _("Double-click toggles fullscreen mode"));
|
m_check_DclickFullscreen = new pxCheckBox(this, _("Double-click toggles fullscreen mode"));
|
||||||
m_check_SyncToHostRefreshRate = new pxCheckBox(this, _("Sync To Host Refresh Rate"));
|
|
||||||
|
|
||||||
m_combo_FMVAspectRatioSwitch->SetToolTip(pxEt(L"Off: Disables temporary aspect ratio switch. (It will use the above setting from Aspect Ratio instead of FMV Aspect Ratio Override.)\n\n"
|
m_combo_FMVAspectRatioSwitch->SetToolTip(pxEt(L"Off: Disables temporary aspect ratio switch. (It will use the above setting from Aspect Ratio instead of FMV Aspect Ratio Override.)\n\n"
|
||||||
L"Auto 4:3/3:2: Temporarily switch to a 4:3 aspect ratio while an FMV plays to correctly display a 4:3 FMV. Will use 3:2 is the resolution is 480P\n\n"
|
L"Auto 4:3/3:2: Temporarily switch to a 4:3 aspect ratio while an FMV plays to correctly display a 4:3 FMV. Will use 3:2 is the resolution is 480P\n\n"
|
||||||
|
@ -137,7 +136,6 @@ Panels::GSWindowSettingsPanel::GSWindowSettingsPanel(wxWindow* parent)
|
||||||
|
|
||||||
*this += m_check_Fullscreen;
|
*this += m_check_Fullscreen;
|
||||||
*this += m_check_DclickFullscreen;
|
*this += m_check_DclickFullscreen;
|
||||||
*this += m_check_SyncToHostRefreshRate;
|
|
||||||
*this += new wxStaticLine(this) | StdExpand();
|
*this += new wxStaticLine(this) | StdExpand();
|
||||||
|
|
||||||
*this += s_vsync | StdExpand();
|
*this += s_vsync | StdExpand();
|
||||||
|
@ -171,7 +169,6 @@ void Panels::GSWindowSettingsPanel::ApplyConfigToGui(AppConfig& configToApply, i
|
||||||
m_text_Zoom->ChangeValue(wxString::FromDouble(gsconf.Zoom, 2));
|
m_text_Zoom->ChangeValue(wxString::FromDouble(gsconf.Zoom, 2));
|
||||||
|
|
||||||
m_check_DclickFullscreen->SetValue(conf.IsToggleFullscreenOnDoubleClick);
|
m_check_DclickFullscreen->SetValue(conf.IsToggleFullscreenOnDoubleClick);
|
||||||
m_check_SyncToHostRefreshRate->SetValue(gsconf.SyncToHostRefreshRate);
|
|
||||||
|
|
||||||
m_text_WindowWidth->ChangeValue(wxsFormat(L"%d", conf.WindowSize.GetWidth()));
|
m_text_WindowWidth->ChangeValue(wxsFormat(L"%d", conf.WindowSize.GetWidth()));
|
||||||
m_text_WindowHeight->ChangeValue(wxsFormat(L"%d", conf.WindowSize.GetHeight()));
|
m_text_WindowHeight->ChangeValue(wxsFormat(L"%d", conf.WindowSize.GetHeight()));
|
||||||
|
@ -202,7 +199,6 @@ void Panels::GSWindowSettingsPanel::Apply()
|
||||||
gsconf.VsyncEnable = static_cast<VsyncMode>(m_combo_vsync->GetSelection());
|
gsconf.VsyncEnable = static_cast<VsyncMode>(m_combo_vsync->GetSelection());
|
||||||
|
|
||||||
appconf.IsToggleFullscreenOnDoubleClick = m_check_DclickFullscreen->GetValue();
|
appconf.IsToggleFullscreenOnDoubleClick = m_check_DclickFullscreen->GetValue();
|
||||||
gsconf.SyncToHostRefreshRate = m_check_SyncToHostRefreshRate->GetValue();
|
|
||||||
|
|
||||||
long xr, yr = 1;
|
long xr, yr = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue