From 15be1061d36649c1faf2eda571aaae434cde273b Mon Sep 17 00:00:00 2001 From: Fire30 Date: Wed, 2 Jul 2014 18:17:09 -0400 Subject: [PATCH] Fixed arguments for NetDll_send. --- src/xenia/kernel/xam_net.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/xenia/kernel/xam_net.cc b/src/xenia/kernel/xam_net.cc index 1a8470c48..dcf72f074 100644 --- a/src/xenia/kernel/xam_net.cc +++ b/src/xenia/kernel/xam_net.cc @@ -176,12 +176,14 @@ SHIM_CALL NetDll_recvfrom_shim( SHIM_CALL NetDll_send_shim( PPCContext* ppc_state, KernelState* state) { - uint32_t socket_ptr = SHIM_GET_ARG_32(0); - uint32_t buf_ptr = SHIM_GET_ARG_32(1); - uint32_t len = SHIM_GET_ARG_32(2); - uint32_t flags = SHIM_GET_ARG_32(3); + uint32_t arg0 = SHIM_GET_ARG_32(0); + uint32_t socket_ptr = SHIM_GET_ARG_32(1); + uint32_t buf_ptr = SHIM_GET_ARG_32(2); + uint32_t len = SHIM_GET_ARG_32(3); + uint32_t flags = SHIM_GET_ARG_32(4); XELOGD( - "NetDll_send(%.8X, %.8X, %d, %d)", + "NetDll_send(%d,%.8X, %.8X, %d, %d)", + arg0, socket_ptr, buf_ptr, len,