Adding read data reply to the real Wiimote

because the emulated program expect it
This commit is contained in:
John Peterson 2013-07-11 07:16:02 +02:00 committed by Rachel Bryk
parent e1f641424d
commit e36757bec1
1 changed files with 5 additions and 0 deletions

View File

@ -299,6 +299,11 @@ void Wiimote::Update()
return;
}
WiimoteEmu::Wiimote *const wm = (WiimoteEmu::Wiimote*)::Wiimote::GetPlugin()->controllers[index];
if (wm->Step())
return;
// Pop through the queued reports
const Report& rpt = ProcessReadQueue();