mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 05:52:38 +00:00
Oh Yeah! Now ASK!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4731 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
37a5be0e00
commit
6014fa6524
8 changed files with 52 additions and 95 deletions
|
@ -575,6 +575,14 @@ void InterruptChannel(int _number, u16 _channelID, const void* _pData, u32 _Size
|
|||
|
||||
void ControlChannel(int _number, u16 _channelID, const void* _pData, u32 _Size)
|
||||
{
|
||||
// Check for custom communication
|
||||
if(_channelID == 99 && *(const u8*)_pData == WIIMOTE_RECONNECT)
|
||||
{
|
||||
WARN_LOG(WIIMOTE, "Wiimote: #%i Disconnected", _number);
|
||||
g_ReportingAuto[_number] = false;
|
||||
return;
|
||||
}
|
||||
|
||||
g_RefreshWiimote = _number;
|
||||
|
||||
hid_packet* hidp = (hid_packet*)_pData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue