diff options
author | Enrico Mancuso <55850895+HidroSaphire@users.noreply.github.com> | 2022-11-09 15:34:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 15:34:26 +0100 |
commit | d581a4a367bfe750ad571a1b8ee8961c132411aa (patch) | |
tree | ad7a62b9e3a296a93876f5569fc2106fd0d64fae /src/common | |
parent | Merge pull request #9215 from liamwhite/swordfight (diff) | |
download | yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.gz yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.bz2 yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.lz yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.xz yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.zst yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 0a560ebb7..8173462cb 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -151,6 +151,7 @@ void UpdateRescalingInfo() { ASSERT(false); info.up_scale = 1; info.down_shift = 0; + break; } info.up_factor = static_cast<f32>(info.up_scale) / (1U << info.down_shift); info.down_factor = static_cast<f32>(1U << info.down_shift) / info.up_scale; |