Keep an empty WINE_CPU_TOPOLOGY from a game profile

This commit is contained in:
maxjivi05 authored and MaxsTechReview committed 2026-10-26 18:31:11 -04:00
1 parent 9d85af7558
commit 43266b2923
2 files changed
+2 -1

No files matched your search

@@ -352,7 +352,7 @@ def game_cores(env):
def cpu_topology(env):
if env.get("WINE_CPU_TOPOLOGY") or not (env.get("DROIDDECK_GAME_CORES", "").strip() or env.get("BL_GAME_CPUS", "").strip()):
if "WINE_CPU_TOPOLOGY" in env or not (env.get("DROIDDECK_GAME_CORES", "").strip() or env.get("BL_GAME_CPUS", "").strip()):
return
try:
cores = sorted(os.sched_getaffinity(0))