proton: Reset the SteamVirtualGamepadInfo environment variable.

To keep SDL 2.30 old behavior until we start supporting it.

CW-Bug-Id: #23185
This commit is contained in:
Rémi Bernon 2024-01-11 20:55:07 +01:00 committed by Arkadiusz Hiler
parent d7ab7f9199
commit 40aff8b011

3
proton
View file

@ -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()