summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMatías Locatti <matias.locatti@gmail.com>2022-11-20 01:04:04 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-11-24 10:22:13 +0100
commitf209e976f4887f399250c558ac725bc5723eec38 (patch)
tree78d1ed79f0bfadaa968a8f0e0fb21465441428b5 /src/common
parentMerge pull request #9299 from lioncash/cast (diff)
downloadyuzu-f209e976f4887f399250c558ac725bc5723eec38.tar
yuzu-f209e976f4887f399250c558ac725bc5723eec38.tar.gz
yuzu-f209e976f4887f399250c558ac725bc5723eec38.tar.bz2
yuzu-f209e976f4887f399250c558ac725bc5723eec38.tar.lz
yuzu-f209e976f4887f399250c558ac725bc5723eec38.tar.xz
yuzu-f209e976f4887f399250c558ac725bc5723eec38.tar.zst
yuzu-f209e976f4887f399250c558ac725bc5723eec38.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 8173462cb..926268ffc 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());
diff --git a/src/common/settings.h b/src/common/settings.h
index 0eb98939c..31d195548 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.