From 6beeb8c427890df34eb93de4a26d61f7b7023c22 Mon Sep 17 00:00:00 2001 From: Cancerous Date: Thu, 9 Jan 2020 06:42:47 -0500 Subject: [PATCH] [Kernel] remove option to disable WSAStartup --- src/xenia/kernel/xam/xam_net.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/xenia/kernel/xam/xam_net.cc b/src/xenia/kernel/xam/xam_net.cc index d824f0baa..ba65f71df 100644 --- a/src/xenia/kernel/xam/xam_net.cc +++ b/src/xenia/kernel/xam/xam_net.cc @@ -23,8 +23,6 @@ #include "xenia/kernel/xthread.h" #include "xenia/xbox.h" -DEFINE_bool(no_net_WSA, true, - "Shut down more of the networking if a game is spamming net functions.", "Kernel"); #ifdef XE_PLATFORM_WIN32 // NOTE: must be included last as it expects windows.h to already be included. @@ -228,10 +226,6 @@ DECLARE_XAM_EXPORT1(NetDll_XNetRandom, kNetworking, kStub); dword_result_t NetDll_WSAStartup(dword_t caller, word_t version, pointer_t data_ptr) { - if (cvars::no_net_WSA) { - // to shutdown WSA return winsock failed to init(not enough mem) - return WSAENOBUFS; - } // TODO(benvanik): abstraction layer needed. #ifdef XE_PLATFORM_WIN32