mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-23 10:50:01 +00:00
Adding read data reply to the real Wiimote
because the emulated program expect it
This commit is contained in:
parent
e1f641424d
commit
e36757bec1
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue