summaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2021-10-06 01:18:00 -0400
committerGravatar Fernando Sahmkow2021-11-16 22:11:30 +0100
commit31478c6c1b841b9a820742830b136775fafe270f (patch)
treee8f5644dd6c570cf8ee08e5e23592983162a8ec4 /src/common/settings.cpp
parenttexture_cache: Refactor scaled image size calculation (diff)
downloadyuzu-31478c6c1b841b9a820742830b136775fafe270f.tar.gz
yuzu-31478c6c1b841b9a820742830b136775fafe270f.tar.xz
yuzu-31478c6c1b841b9a820742830b136775fafe270f.zip
video_core: Misc resolution scaling related refactoring
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index f0686a7c5..12fdb0f9b 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -107,7 +107,7 @@ float Volume() {
107} 107}
108 108
109void UpdateRescalingInfo() { 109void UpdateRescalingInfo() {
110 auto setup = values.resolution_setup.GetValue(); 110 const auto setup = values.resolution_setup.GetValue();
111 auto& info = values.resolution_info; 111 auto& info = values.resolution_info;
112 switch (setup) { 112 switch (setup) {
113 case ResolutionSetup::Res1_2X: 113 case ResolutionSetup::Res1_2X: