mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
allow connecting to adhoc server on 127.0.0.1 with built-in server disabled
This commit is contained in:
1 parent
2731918f05
commit
aa4a4eb18d
1 file changed
-4
@@ -2237,10 +2237,6 @@ int initNetwork(SceNetAdhocctlAdhocId *adhoc_id){
|
||||
if (g_adhocServerIP.in.sin_addr.s_addr == INADDR_NONE)
|
||||
return SOCKET_ERROR;
|
||||
|
||||
// Don't need to connect if AdhocServer IP is the same with this instance localhost IP and having AdhocServer disabled
|
||||
if (g_adhocServerIP.in.sin_addr.s_addr == g_localhostIP.in.sin_addr.s_addr && !g_Config.bEnableAdhocServer)
|
||||
return SOCKET_ERROR;
|
||||
|
||||
// Connect to Adhoc Server
|
||||
int errorcode = 0;
|
||||
int cnt = 0;
|
||||
|
||||
Reference in new issue
Block a user