From 40aff8b01172071a006ecbba94682da920708a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Thu, 11 Jan 2024 20:55:07 +0100 Subject: [PATCH] proton: Reset the SteamVirtualGamepadInfo environment variable. To keep SDL 2.30 old behavior until we start supporting it. CW-Bug-Id: #23185 --- proton | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proton b/proton index 30af9be1..baf0720d 100755 --- a/proton +++ b/proton @@ -1546,6 +1546,9 @@ 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()