GS: Fix SkipDuplicateFrames default config.

This commit is contained in:
lightningterror 2022-06-05 00:01:19 +02:00
parent 33a78c1919
commit a6649b2d6b
2 changed files with 2 additions and 2 deletions

View File

@ -1426,7 +1426,7 @@ void GSApp::Init()
m_default_configuration["shaderfx"] = "0"; m_default_configuration["shaderfx"] = "0";
m_default_configuration["shaderfx_conf"] = "shaders/GS_FX_Settings.ini"; m_default_configuration["shaderfx_conf"] = "shaders/GS_FX_Settings.ini";
m_default_configuration["shaderfx_glsl"] = "shaders/GS.fx"; m_default_configuration["shaderfx_glsl"] = "shaders/GS.fx";
m_default_configuration["skip_duplicate_frames"] = "0"; m_default_configuration["SkipDuplicateFrames"] = "0";
m_default_configuration["texture_preloading"] = "0"; m_default_configuration["texture_preloading"] = "0";
m_default_configuration["ThreadedPresentation"] = "0"; m_default_configuration["ThreadedPresentation"] = "0";
m_default_configuration["TVShader"] = "0"; m_default_configuration["TVShader"] = "0";

View File

@ -342,7 +342,7 @@ HacksTab::HacksTab(wxWindow* parent)
auto hw_prereq = [this]{ return m_is_hardware; }; auto hw_prereq = [this]{ return m_is_hardware; };
auto* hacks_check_box = m_ui.addCheckBox(tab_box.inner, "Manual HW Hacks (Disables automatic settings if checked)", "UserHacks", -1, hw_prereq); auto* hacks_check_box = m_ui.addCheckBox(tab_box.inner, "Manual HW Hacks (Disables automatic settings if checked)", "UserHacks", -1, hw_prereq);
m_ui.addCheckBox(tab_box.inner, "Skip Presenting Duplicate Frames", "skip_duplicate_frames", -1); m_ui.addCheckBox(tab_box.inner, "Skip Presenting Duplicate Frames", "SkipDuplicateFrames", -1);
auto hacks_prereq = [this, hacks_check_box]{ return m_is_hardware && hacks_check_box->GetValue(); }; auto hacks_prereq = [this, hacks_check_box]{ return m_is_hardware && hacks_check_box->GetValue(); };
auto upscale_hacks_prereq = [this, hacks_check_box]{ return !m_is_native_res && hacks_check_box->GetValue(); }; auto upscale_hacks_prereq = [this, hacks_check_box]{ return !m_is_native_res && hacks_check_box->GetValue(); };