summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2012-02-10 12:01:47 -0800
committerShawn Hoffman <godisgovernment@gmail.com>2012-02-10 12:01:47 -0800
commit35d573fd79efe52eb0304248d1f55e46b1bf4753 (patch)
treea705432a440976581c149d5f0779c69773dd2dc2 /Source
parentf412227cd53265a0ef80f5f5d03e4f8498d831cd (diff)
fix regression
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp7
1 files changed, 7 insertions, 0 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 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;
}