From 5bf33f778f403bc879d10b7f27ee436eeba62b7d Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 11 Mar 2010 17:21:25 +0000 Subject: [PATCH] re-add the HidOutputReport() in wiimote plugin's ControlChannel, homebrew needs this (wiimote in homebrew still broken atm...) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5188 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp b/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp index 9f7b7ae12c..37bb924874 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp +++ b/Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp @@ -613,9 +613,9 @@ void ControlChannel(int _number, u16 _channelID, const void* _pData, u32 _Size) else { // AyuanX: My experiment shows Control Channel is never used - // In case it happens, we will send back a handshake which means report failed/rejected - // (TO_BE_VERIFIED) - // + // shuffle2: but homebrew uses this, so we'll do what we must :) + HidOutputReport(_channelID, (wm_report*)hidp->data); + u8 handshake = HID_HANDSHAKE_SUCCESS; g_WiimoteInitialize.pWiimoteInput(g_ID, _channelID, &handshake, 1);