mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[xam] Added debug-level logging of WSAGetLastError result
This commit is contained in:
parent
6284bfc21c
commit
e7dcee4c39
|
|
@ -310,7 +310,9 @@ DECLARE_XAM_EXPORT1(NetDll_WSACleanup, kNetworking, kImplemented);
|
|||
// Xbox shares space between normal error codes and WSA errors.
|
||||
// This under the hood returns directly value received from RtlGetLastError.
|
||||
dword_result_t NetDll_WSAGetLastError_entry() {
|
||||
return XThread::GetLastError();
|
||||
uint32_t last_error = XThread::GetLastError();
|
||||
XELOGD("NetDll_WSAGetLastError: {}", last_error);
|
||||
return last_error;
|
||||
}
|
||||
DECLARE_XAM_EXPORT1(NetDll_WSAGetLastError, kNetworking, kImplemented);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue