[XAM/Net] Implemented WSASetLastError

This commit is contained in:
Gliniak 2020-11-29 17:07:59 +01:00 committed by Rick Gibbed
parent 215f2a340b
commit c3d48eb2fa
1 changed files with 5 additions and 0 deletions

View File

@ -958,6 +958,11 @@ dword_result_t NetDll___WSAFDIsSet(dword_t socket_handle,
}
DECLARE_XAM_EXPORT1(NetDll___WSAFDIsSet, kNetworking, kImplemented);
void NetDll_WSASetLastError(dword_t error_code) {
XThread::SetLastError(error_code);
}
DECLARE_XAM_EXPORT1(NetDll_WSASetLastError, kNetworking, kImplemented);
void RegisterNetExports(xe::cpu::ExportResolver* export_resolver,
KernelState* kernel_state) {}