Never run WSACleanup, it breaks the debugger. Some games do this
on startup just because, which decrements our WSA instance to zero.
This commit is contained in:
parent
9bea299a16
commit
d8be8fdbbb
|
@ -219,7 +219,10 @@ SHIM_CALL NetDll_WSACleanup_shim(PPCContext* ppc_context,
|
|||
uint32_t caller = SHIM_GET_ARG_32(0);
|
||||
|
||||
XELOGD("NetDll_WSACleanup(%d)", caller);
|
||||
int ret = WSACleanup();
|
||||
|
||||
// Don't actually call WSACleanup - we use it for the debugger and such.
|
||||
// int ret = WSACleanup();
|
||||
int ret = 0;
|
||||
|
||||
SHIM_SET_RETURN_32(ret);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue