mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 16:22:46 +00:00
Merge pull request #9217 from HidroSaphire/patch-1
Add break statement in default cases
This commit is contained in:
commit
0e84fd95e2
|
@ -151,6 +151,7 @@ void UpdateRescalingInfo() {
|
||||||
ASSERT(false);
|
ASSERT(false);
|
||||||
info.up_scale = 1;
|
info.up_scale = 1;
|
||||||
info.down_shift = 0;
|
info.down_shift = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
info.up_factor = static_cast<f32>(info.up_scale) / (1U << info.down_shift);
|
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;
|
info.down_factor = static_cast<f32>(1U << info.down_shift) / info.up_scale;
|
||||||
|
|
Loading…
Reference in a new issue