Adding read data reply to the real Wiimote
because the emulated program expect it
This commit is contained in:
parent
e1f641424d
commit
e36757bec1
|
@ -299,6 +299,11 @@ void Wiimote::Update()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WiimoteEmu::Wiimote *const wm = (WiimoteEmu::Wiimote*)::Wiimote::GetPlugin()->controllers[index];
|
||||||
|
|
||||||
|
if (wm->Step())
|
||||||
|
return;
|
||||||
|
|
||||||
// Pop through the queued reports
|
// Pop through the queued reports
|
||||||
const Report& rpt = ProcessReadQueue();
|
const Report& rpt = ProcessReadQueue();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue