From 29b71fb9ce5d28e84a7aaabc1a3a65f2a551d42d Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 7 Apr 2018 21:30:54 -0500 Subject: [PATCH] Wiimote Emulation: increase left/right bounds for IR calculation, to fix games that previously you couldn't reach the left/right edges (ex: system menu) --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp index 2e4d359878..b45942c2e6 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp @@ -706,8 +706,8 @@ void Wiimote::GetIRData(u8* const data, bool use_accel) static const int camHeight = 768; static const double bndup = -0.315447; static const double bnddown = 0.85; - static const double bndleft = 0.443364; - static const double bndright = -0.443364; + static const double bndleft = 0.78820266; + static const double bndright = -0.78820266; static const double dist1 = 100.0 / camWidth; // this seems the optimal distance for zelda static const double dist2 = 1.2 * dist1;