proton: Add noesync,nofsync for Apex Legends

This commit is contained in:
Andrew Eikum
2022-02-11 17:39:00 +02:00
committed by Arkadiusz Hiler
parent b7d532badf
commit 25a58123a1
+11 -1
View File
@@ -911,6 +911,16 @@ def comma_escaped(s):
idx = idx - 1
return escaped
#hopefully short-lived, app-specific workarounds for Proton bugs
def default_compat_config():
ret = set()
if "SteamAppId" in os.environ:
appid = os.environ["SteamAppId"]
if appid == "1172470": #Apex Legends
ret.add("noesync")
ret.add("nofsync")
return ret
class Session:
def __init__(self):
self.log_file = None
@@ -922,7 +932,7 @@ class Session:
"beclient_x64.dll": "b,n",
}
self.compat_config = set()
self.compat_config = default_compat_config()
self.cmdlineappend = []
if "STEAM_COMPAT_CONFIG" in os.environ: