Reduce emulated shaking frequency to 6hz. (something more humanly possible) (was ~13hz)

This commit is contained in:
Jordan Woyak
2018-12-15 10:26:51 -06:00
parent a8a6bdcdd2
commit 79eb065cf3
4 changed files with 26 additions and 23 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)