From 3ec25a9e3fea8c3da8ace6194eefdc9f2beb8095 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sat, 4 Feb 2012 16:53:02 +1300 Subject: [PATCH] SET/WRITE Config are practically the same. --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp index 5b698ceb03..8fee552960 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp @@ -295,11 +295,10 @@ bool CWII_IPC_HLE_Device_net_ncd_manage::IOCtlV(u32 _CommandAddress) { case IOCTLV_NCD_GETCONFIG: // 7004 out, 32 out WARN_LOG(WII_IPC_NET, "NET_NCD_MANAGE: IOCTLV_NCD_GETCONFIG"); - ReturnValue = -1; - break; case IOCTLV_NCD_READCONFIG: // 7004 Out, 32 Out. 2nd, 3rd - WARN_LOG(WII_IPC_NET, "NET_NCD_MANAGE: IOCTLV_NCD_READCONFIG"); - //break; + + if(CommandBuffer.Parameter == IOCTLV_NCD_READCONFIG) + WARN_LOG(WII_IPC_NET, "NET_NCD_MANAGE: IOCTLV_NCD_READCONFIG"); // first out buffer gets filled with contents of /shared2/sys/net/02/config.dat // TODO: What's the second output buffer for?