summaryrefslogtreecommitdiffstats
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-10-15 22:59:16 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 22:11:31 +0100
commitb7ccc58f235d9e442677eb10259b7196a387c6bc (patch)
tree2a479e907e8019b81aaeb99c5a1966ec05b5aab0 /src/common/settings.cpp
parenttexture_cache_base: Remove unused function declarations (diff)
downloadyuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar
yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.gz
yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.bz2
yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.lz
yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.xz
yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.zst
yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.zip
Diffstat (limited to '')
-rw-r--r--src/common/settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 12fdb0f9b..bc2c8c7d7 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -109,10 +109,12 @@ float Volume() {
void UpdateRescalingInfo() {
const auto setup = values.resolution_setup.GetValue();
auto& info = values.resolution_info;
+ info.downscale = false;
switch (setup) {
case ResolutionSetup::Res1_2X:
info.up_scale = 1;
info.down_shift = 1;
+ info.downscale = true;
break;
case ResolutionSetup::Res1X:
info.up_scale = 1;