Browse Source
Merge pull request #9217 from HidroSaphire/patch-1
Add break statement in default cases
pull/15/merge
Mai
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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; |
|
|
|
|