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 | 3efb76498af7fb6f89e37dceab7cfc170ef3e92c (patch) | |
| tree | ad7a62b9e3a296a93876f5569fc2106fd0d64fae /src | |
| parent | 728eca47a14b73d1fc9f781facdad1aae84c2c32 (diff) | |
Add break statement in default cases
According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing) the default cases should have a break statement
default:
// Yes, even break for the last case
break;
Diffstat (limited to 'src')
| -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 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; |
