From 35d573fd79efe52eb0304248d1f55e46b1bf4753 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Fri, 10 Feb 2012 12:01:47 -0800 Subject: [PATCH] fix regression --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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 b2435dfe82..7dc80590f3 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 @@ -276,7 +276,14 @@ bool CWII_IPC_HLE_Device_net_ncd_manage::IOCtlV(u32 _CommandAddress) Memory::Write_U32(common_result, CommandBuffer.PayloadBuffer.at(common_vector).m_Address); + if (common_vector == 1) + { + Memory::Write_U32(common_result, + CommandBuffer.PayloadBuffer.at(common_vector).m_Address + 4); + } + Memory::Write_U32(return_value, _CommandAddress + 4); + return true; }