From 13fbc2ea8eece38c6baa1712612e06d44741f48e Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Sun, 2 Aug 2009 18:01:10 +0000 Subject: [PATCH] undef wifi in non public release (luigi__, sorry if i broke you stuff, but WiFi slowdown emu. may define it only after optimising wifi) --- desmume/src/NDSSystem.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 47ee57918..72042962c 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -47,6 +47,12 @@ PathInfo path; +#if 1 + #ifndef PUBLIC_RELEASE + #undef EXPERIMENTAL_WIFI + #endif +#endif + TCommonSettings CommonSettings; static BaseDriver _stub_driver; BaseDriver* driver = &_stub_driver; @@ -2048,7 +2054,6 @@ void Sequencer::execHardware() } } -#ifndef PUBLIC_RELEASE #ifdef EXPERIMENTAL_WIFI if(wifi.isTriggered()) { @@ -2056,7 +2061,6 @@ void Sequencer::execHardware() WIFI_SoftAP_usTrigger(&wifiMac); wifi.timestamp += kWifiCycles; } -#endif #endif if(divider.isTriggered()) divider.exec();