diff options
author | bunnei <bunneidev@gmail.com> | 2022-11-27 09:13:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 09:13:15 +0100 |
commit | 3ab8d9ac7c1fac58de314265f8936336d1f7d829 (patch) | |
tree | 9f0544fd8e47a1c3c308b420b7c9b16d622cb67f /src/common | |
parent | Merge pull request #9324 from v1993/master (diff) | |
parent | Sharpness instead of Sharpening (diff) | |
download | yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.tar yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.tar.gz yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.tar.bz2 yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.tar.lz yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.tar.xz yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.tar.zst yuzu-3ab8d9ac7c1fac58de314265f8936336d1f7d829.zip |
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() { log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue()); log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue()); log_setting("Renderer_ScalingFilter", values.scaling_filter.GetValue()); + log_setting("Renderer_FSRSlider", values.fsr_sharpening_slider.GetValue()); log_setting("Renderer_AntiAliasing", values.anti_aliasing.GetValue()); log_setting("Renderer_UseSpeedLimit", values.use_speed_limit.GetValue()); log_setting("Renderer_SpeedLimit", values.speed_limit.GetValue()); @@ -181,6 +182,7 @@ void RestoreGlobalState(bool is_powered_on) { values.cpuopt_unsafe_ignore_global_monitor.SetGlobal(true); // Renderer + values.fsr_sharpening_slider.SetGlobal(true); values.renderer_backend.SetGlobal(true); values.vulkan_device.SetGlobal(true); 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 { ResolutionScalingInfo resolution_info{}; SwitchableSetting<ResolutionSetup> resolution_setup{ResolutionSetup::Res1X, "resolution_setup"}; SwitchableSetting<ScalingFilter> scaling_filter{ScalingFilter::Bilinear, "scaling_filter"}; + SwitchableSetting<int, true> fsr_sharpening_slider{25, 0, 200, "fsr_sharpening_slider"}; SwitchableSetting<AntiAliasing> anti_aliasing{AntiAliasing::None, "anti_aliasing"}; // *nix platforms may have issues with the borderless windowed fullscreen mode. // Default to exclusive fullscreen on these platforms for now. |