Fix xam_net.cc

This commit is contained in:
Dr. Chat 2015-12-06 15:23:56 -06:00 committed by Ben Vanik
parent 4a3773d2fb
commit 23b6a1f943
1 changed files with 5 additions and 3 deletions

View File

@ -258,9 +258,11 @@ dword_result_t NetDll_WSARecvFrom(dword_t caller, dword_t socket,
}
DECLARE_XAM_EXPORT(NetDll_WSARecvFrom, ExportTag::kNetworking);
dword_result_t NetDll_WSAWaitForMultipleEvents(
dword_t num_events, pointer_t<xe::be<uint32_t>> events, dword_t wait_all,
dword_t timeout, dword_t alertable) {
dword_result_t NetDll_WSAWaitForMultipleEvents(dword_t num_events,
lpdword_t events,
dword_t wait_all,
dword_t timeout,
dword_t alertable) {
if (num_events > 64) {
XThread::GetCurrentThread()->set_last_error(87); // ERROR_INVALID_PARAMETER
return ~0u;