From 5d123144ff2b8d1cec1a6f1a46096b6bde9f425c Mon Sep 17 00:00:00 2001 From: Hexagon12 Date: Sat, 4 Nov 2017 15:03:04 +0200 Subject: [PATCH] Removed all instances of WSACleanup();. --- src/core/hle/service/soc_u.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp index acc36bedb0..f2f91e7c2e 100644 --- a/src/core/hle/service/soc_u.cpp +++ b/src/core/hle/service/soc_u.cpp @@ -794,10 +794,6 @@ static void ShutdownSockets(Interface* self) { // TODO(Subv): Implement CleanupSockets(); -#ifdef _WIN32 - WSACleanup(); -#endif - u32* cmd_buffer = Kernel::GetCommandBuffer(); cmd_buffer[1] = 0; } @@ -908,9 +904,6 @@ SOC_U::SOC_U() { SOC_U::~SOC_U() { CleanupSockets(); -#ifdef _WIN32 - WSACleanup(); -#endif } } // namespace SOC