From 8096dc510d4ab38dbd76d62611aea9883afe1000 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 21 Jan 2020 21:27:21 +1000 Subject: [PATCH] Settings: Add missing load/store of GPU/ForceProgressiveScan --- src/core/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 37ba8cad2..efddb8b26 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -52,6 +52,7 @@ void Settings::Load(SettingsInterface& si) gpu_resolution_scale = static_cast(si.GetIntValue("GPU", "ResolutionScale", 1)); gpu_true_color = si.GetBoolValue("GPU", "TrueColor", false); gpu_texture_filtering = si.GetBoolValue("GPU", "TextureFiltering", false); + gpu_force_progressive_scan = si.GetBoolValue("GPU", "ForceProgressiveScan", true); gpu_use_debug_device = si.GetBoolValue("GPU", "UseDebugDevice", false); display_linear_filtering = si.GetBoolValue("Display", "LinearFiltering", true); @@ -88,6 +89,7 @@ void Settings::Save(SettingsInterface& si) const si.SetIntValue("GPU", "ResolutionScale", static_cast(gpu_resolution_scale)); si.SetBoolValue("GPU", "TrueColor", gpu_true_color); si.SetBoolValue("GPU", "TextureFiltering", gpu_texture_filtering); + si.SetBoolValue("GPU", "ForceProgressiveScan", gpu_force_progressive_scan); si.SetBoolValue("GPU", "UseDebugDevice", gpu_use_debug_device); si.SetBoolValue("Display", "LinearFiltering", display_linear_filtering);