From 2d44098faf663e00ec00772791cba45241b3e3bd Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 1 Jan 2013 12:54:37 +0100 Subject: [PATCH] disable more useless stuff in vWii build --- main/source/Network/wiiload_gecko.cpp | 4 ++++ main/source/gecko.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/main/source/Network/wiiload_gecko.cpp b/main/source/Network/wiiload_gecko.cpp index aeefc8c..e1f5a53 100644 --- a/main/source/Network/wiiload_gecko.cpp +++ b/main/source/Network/wiiload_gecko.cpp @@ -14,6 +14,8 @@ #define READ_SIZE (1 << 10) +#ifndef VWII + u8 *gdata = (u8 *)0x92000000; /*** Extern variables ***/ @@ -278,3 +280,5 @@ void ShutdownGeckoThread() geckothread = LWP_THREAD_NULL; } } + +#endif /* VWII */ diff --git a/main/source/gecko.c b/main/source/gecko.c index 9480e85..646aba8 100644 --- a/main/source/gecko.c +++ b/main/source/gecko.c @@ -8,6 +8,7 @@ /* init-globals */ static bool geckoinit = false; +#ifndef VWII #ifndef NO_DEBUG #include @@ -118,3 +119,4 @@ void USBGeckoOutput() } #endif /* NO_DEBUG */ +#endif /* VWII */