From e36757bec1bc5d4c4ad037e9f7f1ae68db8f4015 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Thu, 11 Jul 2013 07:16:02 +0200 Subject: [PATCH] Adding read data reply to the real Wiimote because the emulated program expect it --- Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp index f518cebf7f..93f9a4eae6 100644 --- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp +++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp @@ -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();