From d8c40c166203698cb9694df12be2bfd9a61a3316 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 15 Dec 2023 13:21:58 +0100 Subject: Limit the number of CPU Core repported to 64 when running wine (or proton) --- src/tools/my_cpuid.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tools') diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c index d80a038e..258fb990 100644 --- a/src/tools/my_cpuid.c +++ b/src/tools/my_cpuid.c @@ -83,6 +83,8 @@ int getNCpu() { if(!nCPU) grabNCpu(); + if(box64_wine && nCPU>64) + return 64; return nCPU; } -- cgit 1.4.1