From 4134d2556b85ac06f09b4c5535752a1b7b9581ed Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 17 Mar 2012 19:48:47 +0000 Subject: [PATCH] wifi: put WIFI_RXQueuePacket under EXPERIMENTAL_WIFI_COMM --- desmume/src/wifi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/wifi.cpp b/desmume/src/wifi.cpp index 352387960..8451c67fe 100644 --- a/desmume/src/wifi.cpp +++ b/desmume/src/wifi.cpp @@ -792,6 +792,7 @@ static void WIFI_RXPutWord(u16 val) wifiMac.RXTXAddr = wifiMac.RXWriteCursor; } +#ifdef EXPERIMENTAL_WIFI_COMM static void WIFI_RXQueuePacket(u8* packet, u32 len) { if (!(wifiMac.RXCnt & 0x8000)) return; @@ -803,6 +804,7 @@ static void WIFI_RXQueuePacket(u8* packet, u32 len) pkt.NotStarted = true; wifiMac.RXPacketQueue.push(pkt); } +#endif template static void WIFI_IncrementRXStat() {