mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-11-11 16:49:39 +01:00
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:
1 parent
6ab17c5a0d
commit
9631528b07
1 file changed
+2
-4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user