fix crash for those with their routers turned off

This commit is contained in:
dborth 2010-08-23 18:59:21 +00:00
parent 4917c79f11
commit be41540861

View File

@ -225,7 +225,10 @@ static void * netcb (void *arg)
struct in_addr hostip;
hostip.s_addr = net_gethostip();
if (hostip.s_addr)
{
strcpy(wiiIP, inet_ntoa(hostip));
networkInit = true;
}
}
LWP_SuspendThread(networkthread);
}