summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2010-03-11 17:21:25 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2010-03-11 17:21:25 +0000
commit5bf33f778f403bc879d10b7f27ee436eeba62b7d (patch)
treeec8ae63fa87817739d8c170485bcd54bf9465f85 /Source
parente6efc4a6110d5699df14ce79a5abfb7652cad499 (diff)
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
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_Wiimote/Src/EmuMain.cpp6
1 files 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);