mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 12:56:06 +00:00
Keep an empty WINE_CPU_TOPOLOGY from a game profile
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user