From 888bb6c14d46c9a9b044e001c3f8008c57c1b46c Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Fri, 17 Feb 2023 08:36:58 +0100 Subject: [PATCH] Update client_patches.cpp --- src/client/component/client_patches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/client_patches.cpp b/src/client/component/client_patches.cpp index 6d21ddcd..47bd2e1f 100644 --- a/src/client/component/client_patches.cpp +++ b/src/client/component/client_patches.cpp @@ -14,7 +14,7 @@ namespace client_patches { void reduce_process_affinity() { - const DWORD_PTR affinity = (2ULL << (std::min(std::thread::hardware_concurrency(), 4U))) - 1; + const DWORD_PTR affinity = (1ULL << (std::min(std::thread::hardware_concurrency(), 4U))) - 1; SetProcessAffinityMask(GetCurrentProcess(), affinity); }