mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-20 01:22:14 +03:00
parent
92a8fe7498
commit
19de2da789
4
proton
4
proton
@ -1204,7 +1204,9 @@ class Session:
|
||||
self.compat_config.add("forcelgadd")
|
||||
|
||||
appid = os.environ.get("SteamGameId", 0)
|
||||
if not "WINE_CPU_TOPOLOGY" in self.env and appid in default_cpu_limit:
|
||||
if "PROTON_CPU_TOPOLOGY" in self.env:
|
||||
self.env["WINE_CPU_TOPOLOGY"] = self.env["PROTON_CPU_TOPOLOGY"]
|
||||
elif appid in default_cpu_limit:
|
||||
self.env["WINE_CPU_TOPOLOGY"] = str(default_cpu_limit[appid])
|
||||
|
||||
def init_wine(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user