From f165ec8b9f4b36edc3cee2a8b6ba17e5a3b59687 Mon Sep 17 00:00:00 2001 From: wntrmute Date: Sat, 18 Jun 2011 03:02:46 +0000 Subject: [PATCH] add ifdef to WIFI_Reset --- desmume/src/wifi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/wifi.cpp b/desmume/src/wifi.cpp index cf281800c..037a5b951 100644 --- a/desmume/src/wifi.cpp +++ b/desmume/src/wifi.cpp @@ -648,6 +648,7 @@ void WIFI_DeInit() void WIFI_Reset() { +#ifdef EXPERIMENTAL_WIFI_COMM //memset(&wifiMac, 0, sizeof(wifimac_t)); WIFI_resetRF(&wifiMac.RF); @@ -683,6 +684,7 @@ void WIFI_Reset() wifi_lastmode = CommonSettings.wifi.mode; bWFCUserWarned = false; +#endif }