mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-01-11 18:59:08 +01:00
fix crash for those with their routers turned off
This commit is contained in:
parent
4917c79f11
commit
be41540861
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user