mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 15:18:13 +03:00
proton: Unset WINE{E,F}SYNC if they are disabled
This commit is contained in:
parent
16c6c2756a
commit
1a0cf7f7e2
8
proton
8
proton
@ -484,10 +484,14 @@ class Session:
|
||||
self.check_environment("PROTON_OLD_GL_STRING", "oldglstr")
|
||||
self.check_environment("PROTON_USE_SECCOMP", "seccomp")
|
||||
|
||||
if not "noesync" in self.compat_config:
|
||||
if "noesync" in self.compat_config:
|
||||
self.env.pop("WINEESYNC", "")
|
||||
else:
|
||||
self.env["WINEESYNC"] = "1"
|
||||
|
||||
if not "nofsync" in self.compat_config:
|
||||
if "nofsync" in self.compat_config:
|
||||
self.env.pop("WINEFSYNC", "")
|
||||
else:
|
||||
self.env["WINEFSYNC"] = "1"
|
||||
|
||||
if "seccomp" in self.compat_config:
|
||||
|
Loading…
x
Reference in New Issue
Block a user