remove obsolete pre-handshake propagate_event on mac

This commit is contained in:
Lysann Schlegel
2012-11-12 00:37:27 +01:00
parent 6aef04f375
commit 4bf58ca73a

View File

@@ -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];