From 16e20312dd2ad7884b4876302e7fc25a1363d88d Mon Sep 17 00:00:00 2001 From: nitsuja Date: Sun, 11 Oct 2009 07:32:14 +0000 Subject: [PATCH] temporary compile fix (until we can clean up this wifi stuff) --- desmume/src/NDSSystem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/desmume/src/NDSSystem.cpp b/desmume/src/NDSSystem.cpp index 686ae3b1d..4951571e6 100644 --- a/desmume/src/NDSSystem.cpp +++ b/desmume/src/NDSSystem.cpp @@ -533,7 +533,9 @@ int NDS_Init( void) { if (SPU_Init(SNDCORE_DUMMY, 740) != 0) return -1; +#ifdef EXPERIMENTAL_WIFI WIFI_Init() ; +#endif nds.FW_ARM9BootCode = NULL; nds.FW_ARM7BootCode = NULL; @@ -2626,7 +2628,9 @@ void NDS_Reset() gpu3D->NDS_3D_Reset(); SPU_Reset(); +#ifdef EXPERIMENTAL_WIFI WIFI_Reset(); +#endif memcpy(FW_Mac, (MMU.fw.data + 0x36), 6);