From 09448f9404ada04c0730e97bf097eabbc685ccb0 Mon Sep 17 00:00:00 2001 From: riccardom Date: Tue, 3 Mar 2009 20:43:14 +0000 Subject: [PATCH] Move nds7old under WIFI_EXPERIMENTAL, outside it's unused. --- desmume/src/NDSSystem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) {