Merge pull request #7625 from jordan-woyak/emu-shake-fix

WiimoteEmu: Shaking emulation fix
This commit is contained in:
Tilka
2018-12-27 22:32:50 +01:00
committed by GitHub
8 changed files with 127 additions and 65 deletions

View File

@ -356,8 +356,7 @@ void BluetoothEmu::Update()
}
}
// The Real Wii Remote sends report every ~5ms (200 Hz).
const u64 interval = SystemTimers::GetTicksPerSecond() / 200;
const u64 interval = SystemTimers::GetTicksPerSecond() / Wiimote::UPDATE_FREQ;
const u64 now = CoreTiming::GetTicks();
if (now - m_last_ticks > interval)