From 4bf58ca73a0bb9e43d812e0f4c97613d74aad515 Mon Sep 17 00:00:00 2001 From: Lysann Schlegel Date: Mon, 12 Nov 2012 00:37:27 +0100 Subject: [PATCH] remove obsolete pre-handshake propagate_event on mac --- src/os_mac/os_mac.m | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/os_mac/os_mac.m b/src/os_mac/os_mac.m index 8a91829..15c9e3b 100644 --- a/src/os_mac/os_mac.m +++ b/src/os_mac/os_mac.m @@ -247,15 +247,6 @@ 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 WiiuseReceivedData* newData = [[WiiuseReceivedData alloc] initWithBytes: data length: length]; [receivedDataLock lock];