aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-01-21 03:55:34 +0100
committercrueter <crueter@eden-emu.dev>2026-01-21 03:55:34 +0100
commit368a8f9e3dea960366e7eaadeb21218dd1643bcf (patch)
tree1a7f61b58b2659d83463a01c3323346c7b869dd8 /src
parenta3fa666510384e597e7cab55d0a74da4a206da0d (diff)
[android] fix resolution info.active causing 1/4th of screen rendering when using 0.5x instead of downscaled 0.5x (#3361)
Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3361 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src')
-rw-r--r--src/common/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 333f340734..746638dcf8 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -348,7 +348,7 @@ void TranslateResolutionInfo(ResolutionSetup setup, ResolutionScalingInfo& info)
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;
#ifdef __ANDROID__
- info.active = false;
+ info.active = info.up_scale != 1 || info.down_shift != 0;
#else
info.active = true;
#endif