Android Bugfix - fix right side of touchscreen (#2766)

* remove shadowed render_3d_mode variable breaking the right side of touchscreen input on android in some situations

* license
This commit is contained in:
NovaChild authored and GitHub committed 2026-11-05 13:29:06 +01:00
1 parent 6ab17c5a0d
commit 9631528b07
1 file changed
+2 -4
+2 -4
View File
@@ -1,6 +1,6 @@
// Copyright 2016-2026 Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the misc/licenses/gplv2.txt file included.
// Licensed under GPLv3 or any later version
// Refer to the LICENSE.txt file included.
#include <cmath>
@@ -29,8 +29,6 @@ bool FramebufferLayout::IsWithinTouchscreen(unsigned framebuffer_x, unsigned fra
return false;
}
const Settings::StereoRenderOption render_3d_mode = Settings::values.render_3d.GetValue();
if (framebuffer_x > width / 2 &&
render_3d_mode == Settings::StereoRenderOption::SideBySideFull) {
framebuffer_x = static_cast<unsigned>(framebuffer_x - width / 2);