Adding read data reply to the real Wiimote

because the emulated program expect it
This commit is contained in:
John Peterson authored and Rachel Bryk committed 2013-07-11 11:32:09 -04:00
1 parent e1f641424d
commit e36757bec1
1 file changed
+5
@@ -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();