From 4e32ec35a7a0605b216c80d301be22db6075d027 Mon Sep 17 00:00:00 2001 From: Sepalani Date: Thu, 5 Nov 2020 19:51:20 +0400 Subject: [PATCH] IP/Top: Add missing sockopt --- Source/Core/Core/IOS/Network/IP/Top.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/Core/Core/IOS/Network/IP/Top.cpp b/Source/Core/Core/IOS/Network/IP/Top.cpp index 53fd9b2699..04f41a0621 100644 --- a/Source/Core/Core/IOS/Network/IP/Top.cpp +++ b/Source/Core/Core/IOS/Network/IP/Top.cpp @@ -145,10 +145,18 @@ static s32 MapWiiSockOptNameToNative(u32 optname) return SO_REUSEADDR; case 0x80: return SO_LINGER; + case 0x100: + return SO_OOBINLINE; case 0x1001: return SO_SNDBUF; case 0x1002: return SO_RCVBUF; + case 0x1003: + return SO_SNDLOWAT; + case 0x1004: + return SO_RCVLOWAT; + case 0x1008: + return SO_TYPE; case 0x1009: return SO_ERROR; }