mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-12 01:17:54 +01:00
proton: Enable the new SDL 2.30 Steam Input integration.
CW-Bug-Id: #23185
This commit is contained in:
parent
3bf7e4d032
commit
5d805b6986
1 changed files with 4 additions and 3 deletions
7
proton
7
proton
|
|
@ -1317,6 +1317,10 @@ class Session:
|
|||
else:
|
||||
self.env.pop("LC_ALL", "")
|
||||
|
||||
# CW-Bug-Id: #23185 Enable the new SDL 2.30 Steam Input integration.
|
||||
if "SteamVirtualGamepadInfo_Proton" in self.env and "SteamVirtualGamepadInfo" not in self.env:
|
||||
self.env["SteamVirtualGamepadInfo"] = self.env["SteamVirtualGamepadInfo_Proton"]
|
||||
|
||||
self.env.pop("WINEARCH", "")
|
||||
|
||||
if 'ORIG_'+ld_path_var not in os.environ:
|
||||
|
|
@ -1746,9 +1750,6 @@ if __name__ == "__main__":
|
|||
log("No compat data path?")
|
||||
sys.exit(1)
|
||||
|
||||
# CW-Bug-Id: #23185 Avoid triggering new SDL 2.30 behavior.
|
||||
os.environ.pop('SteamVirtualGamepadInfo', None)
|
||||
|
||||
g_proton = Proton(os.path.dirname(sys.argv[0]))
|
||||
|
||||
g_proton.cleanup_legacy_dist()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue