From 47ff4b7397c47fcac68154ea46c77603d92a9008 Mon Sep 17 00:00:00 2001 From: dborth Date: Thu, 10 Feb 2011 18:06:06 +0000 Subject: [PATCH] fix compilation on GameCube --- source/networkop.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/networkop.cpp b/source/networkop.cpp index d9c105a..f85f08e 100644 --- a/source/networkop.cpp +++ b/source/networkop.cpp @@ -327,7 +327,11 @@ bool InitializeNetwork(bool silent) retry = ErrorPromptRetry("Unable to initialize network!"); + #ifdef HW_RVL if(networkInit && net_gethostip() > 0) +#else + if(networkInit) +#endif return true; } return networkInit;