diff options
author | Mai <mathew1800@gmail.com> | 2022-11-11 01:42:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 01:42:04 +0100 |
commit | 0e84fd95e2830c0c951c68093bdde5c76e6c489f (patch) | |
tree | 8fccceb238d3ef619e8743d9d01156061467793c /src/common | |
parent | Merge pull request #9192 from german77/i_had_to_copy_each_one_again (diff) | |
parent | Add break statement in default cases (diff) | |
download | yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.tar yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.tar.gz yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.tar.bz2 yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.tar.lz yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.tar.xz yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.tar.zst yuzu-0e84fd95e2830c0c951c68093bdde5c76e6c489f.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; |