return error in NetDll_WSARecvFrom so we don't wait on packets we won't be getting - fixes State of decay with other XBLA fixes already merged in canary

This commit is contained in:
Cancerous 2019-09-10 06:02:19 -04:00 committed by illusion98
parent f6e2012e8c
commit b6e1902579
1 changed files with 4 additions and 2 deletions

View File

@ -286,8 +286,10 @@ dword_result_t NetDll_WSARecvFrom(dword_t caller, dword_t socket,
// //evt->Set(0, false);
//}
}
return 0;
// we're not going to be receiving packets any time soon
// return error so we don't wait on that - Cancerous
return -1;
}
DECLARE_XAM_EXPORT1(NetDll_WSARecvFrom, kNetworking, kStub);