diff options
| author | 2021-10-15 22:59:16 +0200 | |
|---|---|---|
| committer | 2021-11-16 22:11:31 +0100 | |
| commit | b7ccc58f235d9e442677eb10259b7196a387c6bc (patch) | |
| tree | 2a479e907e8019b81aaeb99c5a1966ec05b5aab0 /src/common/settings.cpp | |
| parent | texture_cache_base: Remove unused function declarations (diff) | |
| download | yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.gz yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.tar.xz yuzu-b7ccc58f235d9e442677eb10259b7196a387c6bc.zip | |
Texture Cahe: Fix downscaling on SMO.
Diffstat (limited to 'src/common/settings.cpp')
| -rw-r--r-- | src/common/settings.cpp | 2 |
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() { | |||
| 109 | void UpdateRescalingInfo() { | 109 | void UpdateRescalingInfo() { |
| 110 | const 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 | info.downscale = false; | ||
| 112 | switch (setup) { | 113 | switch (setup) { |
| 113 | case ResolutionSetup::Res1_2X: | 114 | case ResolutionSetup::Res1_2X: |
| 114 | info.up_scale = 1; | 115 | info.up_scale = 1; |
| 115 | info.down_shift = 1; | 116 | info.down_shift = 1; |
| 117 | info.downscale = true; | ||
| 116 | break; | 118 | break; |
| 117 | case ResolutionSetup::Res1X: | 119 | case ResolutionSetup::Res1X: |
| 118 | info.up_scale = 1; | 120 | info.up_scale = 1; |