diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index c3afa86c0..34702fc71 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -1087,16 +1087,18 @@ u32 NDS_exec(s32 nb) #endif } -#if 0 && defined(EXPERIMENTAL_WIFI) +#ifdef EXPERIMENTAL_WIFI +#if 0 if((nds.ARM7Cycle % 0x3F03) == 0) { /* 3F03 arm7 cycles = ~1usec */ WIFI_usTrigger(&wifiMac) ; } -#endif +#endif int nds7old = nds.ARM7Cycle; +#endif if(nds.ARM7Cycle<=nds.cycles) {