mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
parent
0fd8364e06
commit
d3b7e7b647
4
proton
4
proton
@ -1201,7 +1201,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…
Reference in New Issue
Block a user