diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.cpp | 2 | ||||
| -rw-r--r-- | src/common/settings.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 8173462cb..d8ffe34c3 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -48,6 +48,7 @@ void LogSettings() { | |||
| 48 | log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue()); | 48 | log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue()); |
| 49 | log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue()); | 49 | log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue()); |
| 50 | log_setting("Renderer_ScalingFilter", values.scaling_filter.GetValue()); | 50 | log_setting("Renderer_ScalingFilter", values.scaling_filter.GetValue()); |
| 51 | log_setting("Renderer_FSRSlider", values.fsr_sharpening_slider.GetValue()); | ||
| 51 | log_setting("Renderer_AntiAliasing", values.anti_aliasing.GetValue()); | 52 | log_setting("Renderer_AntiAliasing", values.anti_aliasing.GetValue()); |
| 52 | log_setting("Renderer_UseSpeedLimit", values.use_speed_limit.GetValue()); | 53 | log_setting("Renderer_UseSpeedLimit", values.use_speed_limit.GetValue()); |
| 53 | log_setting("Renderer_SpeedLimit", values.speed_limit.GetValue()); | 54 | log_setting("Renderer_SpeedLimit", values.speed_limit.GetValue()); |
| @@ -181,6 +182,7 @@ void RestoreGlobalState(bool is_powered_on) { | |||
| 181 | values.cpuopt_unsafe_ignore_global_monitor.SetGlobal(true); | 182 | values.cpuopt_unsafe_ignore_global_monitor.SetGlobal(true); |
| 182 | 183 | ||
| 183 | // Renderer | 184 | // Renderer |
| 185 | values.fsr_sharpening_slider.SetGlobal(true); | ||
| 184 | values.renderer_backend.SetGlobal(true); | 186 | values.renderer_backend.SetGlobal(true); |
| 185 | values.vulkan_device.SetGlobal(true); | 187 | values.vulkan_device.SetGlobal(true); |
| 186 | values.aspect_ratio.SetGlobal(true); | 188 | values.aspect_ratio.SetGlobal(true); |
diff --git a/src/common/settings.h b/src/common/settings.h index cf1c00b75..00e4421f7 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -421,6 +421,7 @@ struct Values { | |||
| 421 | ResolutionScalingInfo resolution_info{}; | 421 | ResolutionScalingInfo resolution_info{}; |
| 422 | SwitchableSetting<ResolutionSetup> resolution_setup{ResolutionSetup::Res1X, "resolution_setup"}; | 422 | SwitchableSetting<ResolutionSetup> resolution_setup{ResolutionSetup::Res1X, "resolution_setup"}; |
| 423 | SwitchableSetting<ScalingFilter> scaling_filter{ScalingFilter::Bilinear, "scaling_filter"}; | 423 | SwitchableSetting<ScalingFilter> scaling_filter{ScalingFilter::Bilinear, "scaling_filter"}; |
| 424 | SwitchableSetting<int, true> fsr_sharpening_slider{25, 0, 200, "fsr_sharpening_slider"}; | ||
| 424 | SwitchableSetting<AntiAliasing> anti_aliasing{AntiAliasing::None, "anti_aliasing"}; | 425 | SwitchableSetting<AntiAliasing> anti_aliasing{AntiAliasing::None, "anti_aliasing"}; |
| 425 | // *nix platforms may have issues with the borderless windowed fullscreen mode. | 426 | // *nix platforms may have issues with the borderless windowed fullscreen mode. |
| 426 | // Default to exclusive fullscreen on these platforms for now. | 427 | // Default to exclusive fullscreen on these platforms for now. |