Frontend: Fix some GPU settings not saving to ini

This commit is contained in:
Connor McLaughlin
2019-11-17 22:10:55 +10:00
parent 48e3683d20
commit 38d0f46063
2 changed files with 5 additions and 2 deletions

View File

@ -1116,7 +1116,10 @@ void SDLHostInterface::DrawSettingsWindow()
if (DrawSettingsSectionHeader("Display Output"))
{
if (ImGui::Checkbox("Fullscreen", &m_settings.display_fullscreen))
{
UpdateFullscreen();
settings_changed = true;
}
if (ImGui::Checkbox("Linear Filtering", &m_settings.display_linear_filtering))
{
@ -1176,7 +1179,7 @@ void SDLHostInterface::DrawSettingsWindow()
ImGui::End();
if (settings_changed)
if (settings_changed || gpu_settings_changed)
SaveSettings();
if (gpu_settings_changed && m_system)