From 0219049c0393db23fc20571a88b03fe097914226 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 2 Sep 2013 01:28:48 -0400 Subject: [PATCH] Fix an accidental duplicate if-statement handling of 0x1007 in WII_IPC_HLE_Device_net.cpp --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 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 3c652e72ca..cf5ede4c35 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 @@ -752,11 +752,7 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress) Memory::Write_U32(optlen, BufferOut + 0xC); Memory::WriteBigEData((u8 *) optval, BufferOut + 0x10, optlen); - if (optname == 0x1007){ - s32 errorcode = Memory::Read_U32(BufferOut + 0x10); - INFO_LOG(WII_IPC_NET,"IOCTL_SO_GETSOCKOPT error code = %i", errorcode); - } - else if (optname == SO_ERROR) + if (optname == SO_ERROR) { s32 last_error = WiiSockMan::getInstance().getLastNetError();