remove obsolete pre-handshake propagate_event on mac
This commit is contained in:
@@ -247,15 +247,6 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* This is called if we are receiving data before completing
|
|
||||||
* the handshaking, hence before calling wiiuse_poll
|
|
||||||
*/
|
|
||||||
if(WIIMOTE_IS_SET(wm, WIIMOTE_STATE_HANDSHAKE)) {
|
|
||||||
propagate_event(wm, data[1], data+2);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// copy the data into the buffer
|
// copy the data into the buffer
|
||||||
WiiuseReceivedData* newData = [[WiiuseReceivedData alloc] initWithBytes: data length: length];
|
WiiuseReceivedData* newData = [[WiiuseReceivedData alloc] initWithBytes: data length: length];
|
||||||
[receivedDataLock lock];
|
[receivedDataLock lock];
|
||||||
|
|||||||
Reference in New Issue
Block a user