NetDll_XNetQosServiceLookup stub.
This commit is contained in:
parent
19cb13692b
commit
493b06a48a
|
@ -55,7 +55,7 @@ void StoreSockaddr(const sockaddr& addr, uint8_t* ptr) {
|
|||
}
|
||||
}
|
||||
|
||||
//typedef struct {
|
||||
// typedef struct {
|
||||
// BYTE cfgSizeOfStruct;
|
||||
// BYTE cfgFlags;
|
||||
// BYTE cfgSockMaxDgramSockets;
|
||||
|
@ -157,8 +157,10 @@ SHIM_CALL NetDll_WSAGetLastError_shim(PPCContext* ppc_context,
|
|||
}
|
||||
|
||||
// typedef struct {
|
||||
// IN_ADDR ina; // IP address (zero if not static/DHCP)
|
||||
// IN_ADDR inaOnline; // Online IP address (zero if not online)
|
||||
// IN_ADDR ina; // IP address (zero if not
|
||||
// static/DHCP)
|
||||
// IN_ADDR inaOnline; // Online IP address (zero
|
||||
// if not online)
|
||||
// WORD wPortOnline; // Online port
|
||||
// BYTE abEnet[6]; // Ethernet MAC address
|
||||
// BYTE abOnline[20]; // Online identification
|
||||
|
@ -193,6 +195,20 @@ SHIM_CALL NetDll_XNetGetEthernetLinkStatus_shim(PPCContext* ppc_context,
|
|||
SHIM_SET_RETURN_32(0);
|
||||
}
|
||||
|
||||
SHIM_CALL NetDll_XNetQosServiceLookup_shim(PPCContext* ppc_context,
|
||||
KernelState* kernel_state) {
|
||||
uint32_t one = SHIM_GET_ARG_32(0);
|
||||
uint32_t zero = SHIM_GET_ARG_32(1);
|
||||
uint32_t event_handle = SHIM_GET_ARG_32(2);
|
||||
uint32_t out_ptr = SHIM_GET_ARG_32(3);
|
||||
|
||||
XELOGD("NetDll_XNetQosServiceLookup(%d, %d, %.8X, %.8X)", one, zero,
|
||||
event_handle, out_ptr);
|
||||
|
||||
// Non-zero is error.
|
||||
SHIM_SET_RETURN_32(1);
|
||||
}
|
||||
|
||||
SHIM_CALL NetDll_inet_addr_shim(PPCContext* ppc_context,
|
||||
KernelState* kernel_state) {
|
||||
uint32_t cp_ptr = SHIM_GET_ARG_32(0);
|
||||
|
@ -503,6 +519,7 @@ void xe::kernel::xam::RegisterNetExports(
|
|||
SHIM_SET_MAPPING("xam.xex", NetDll_WSAGetLastError, state);
|
||||
SHIM_SET_MAPPING("xam.xex", NetDll_XNetGetTitleXnAddr, state);
|
||||
SHIM_SET_MAPPING("xam.xex", NetDll_XNetGetEthernetLinkStatus, state);
|
||||
SHIM_SET_MAPPING("xam.xex", NetDll_XNetQosServiceLookup, state);
|
||||
SHIM_SET_MAPPING("xam.xex", NetDll_inet_addr, state);
|
||||
SHIM_SET_MAPPING("xam.xex", NetDll_socket, state);
|
||||
SHIM_SET_MAPPING("xam.xex", NetDll_closesocket, state);
|
||||
|
|
Loading…
Reference in New Issue