Permalink
Browse files

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)
  • Loading branch information...
iwubcode committed Apr 8, 2018
1 parent 6194bad commit 29b71fb9ce5d28e84a7aaabc1a3a65f2a551d42d
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;

0 comments on commit 29b71fb

Please sign in to comment.