aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorMaranBr <maranbr@outlook.com>2026-01-26 03:36:30 +0100
committercrueter <crueter@eden-emu.dev>2026-01-26 03:36:30 +0100
commit4f6195881cd99db6191749a149d169b420a116f8 (patch)
tree1c295cc04557ade7b5e17b39fe1b0640cfadc864 /src/common/settings.cpp
parent7396149ab1a5bd045b4252f3bb183a535c8797ba (diff)
[video_core] Fix 1x graphics bugs without performance loss (#3385)
This fixes weird lines at 1x resolution without impacting performance in some titles. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3385 Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 746638dcf8..2c88356888 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -347,11 +347,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 = info.up_scale != 1 || info.down_shift != 0;
-#else
- info.active = true;
-#endif
}
void UpdateRescalingInfo() {