mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
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:
parent
d7ab7f9199
commit
40aff8b011
3
proton
3
proton
@ -1546,6 +1546,9 @@ if __name__ == "__main__":
|
|||||||
log("No compat data path?")
|
log("No compat data path?")
|
||||||
sys.exit(1)
|
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 = Proton(os.path.dirname(sys.argv[0]))
|
||||||
|
|
||||||
g_proton.cleanup_legacy_dist()
|
g_proton.cleanup_legacy_dist()
|
||||||
|
Loading…
Reference in New Issue
Block a user