net changes

This commit is contained in:
dborth 2011-02-03 03:35:21 +00:00
parent b69c51b8cf
commit 05d875c265

View File

@ -264,16 +264,17 @@ void StopNetworkThread()
bool InitializeNetwork(bool silent)
{
if(networkInit)
{
#ifdef HW_RVL
StopNetworkThread();
#endif
return true;
}
if(silent)
return false;
if(networkInit && net_gethostip() > 0)
return true;
networkInit = false;
#else
if(networkInit)
return true;
#endif
int retry = 1;
@ -299,7 +300,7 @@ bool InitializeNetwork(bool silent)
CancelAction();
if(networkInit)
if(networkInit || silent)
break;
retry = ErrorPromptRetry("Unable to initialize network!");