aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMai <mathew1800@gmail.com>2022-11-11 00:42:04 +0000
committerGitHub <noreply@github.com>2022-11-11 00:42:04 +0000
commit0e84fd95e2830c0c951c68093bdde5c76e6c489f (patch)
tree8fccceb238d3ef619e8743d9d01156061467793c /src
parentbb55d2e70179330ef5abdf49f513a2d40c4590fa (diff)
parentd581a4a367bfe750ad571a1b8ee8961c132411aa (diff)
Merge pull request #9217 from HidroSaphire/patch-1
Add break statement in default cases
Diffstat (limited to 'src')
-rw-r--r--src/common/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 0a560ebb72..8173462cb3 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;