proton: Force LARGE_ADDRESS_AWARE flag for all applications
This commit is contained in:
parent
5f22772332
commit
e781acfa78
1 changed files with 1 additions and 3 deletions
4
proton
4
proton
|
@ -377,6 +377,7 @@ class Session:
|
||||||
self.compat_config = set(os.environ["STEAM_COMPAT_CONFIG"].split(","))
|
self.compat_config = set(os.environ["STEAM_COMPAT_CONFIG"].split(","))
|
||||||
else:
|
else:
|
||||||
self.compat_config = set()
|
self.compat_config = set()
|
||||||
|
self.compat_config.add("forcelgadd")
|
||||||
|
|
||||||
def init_wine(self):
|
def init_wine(self):
|
||||||
if "HOST_LC_ALL" in self.env and len(self.env["HOST_LC_ALL"]) > 0:
|
if "HOST_LC_ALL" in self.env and len(self.env["HOST_LC_ALL"]) > 0:
|
||||||
|
@ -467,9 +468,6 @@ class Session:
|
||||||
self.env["__GL_ExtensionStringVersion"] = "17700"
|
self.env["__GL_ExtensionStringVersion"] = "17700"
|
||||||
|
|
||||||
if "forcelgadd" in self.compat_config:
|
if "forcelgadd" in self.compat_config:
|
||||||
#forcelgadd should be used just for testing whether a game is helped by
|
|
||||||
#setting LARGE_ADDRESS_AWARE. If it does, then add an AppDefault in the
|
|
||||||
#registry, so that it doesn't impact every executable in the prefix.
|
|
||||||
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
|
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
|
||||||
|
|
||||||
if "SteamGameId" in self.env:
|
if "SteamGameId" in self.env:
|
||||||
|
|
Loading…
Reference in a new issue