mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-24 20:41:07 +03:00
proton: Add noesync,nofsync for Apex Legends
This commit is contained in:
parent
b7d532badf
commit
25a58123a1
12
proton
12
proton
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user