mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-10 16:38:00 +01:00
proton: Fix noforcelgadd option.
Code in Wine still enables the hack when WINE_LARGE_ADDRESS_AWARE is missing, need to set it to non-'1' to really disable. CW-Bug-Id: #22930
This commit is contained in:
parent
608505ee78
commit
7ff3867904
1 changed files with 3 additions and 0 deletions
3
proton
3
proton
|
|
@ -1430,6 +1430,9 @@ class Session:
|
||||||
|
|
||||||
if "forcelgadd" in self.compat_config:
|
if "forcelgadd" in self.compat_config:
|
||||||
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
|
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
|
||||||
|
else:
|
||||||
|
if "noforcelgadd" in self.compat_config:
|
||||||
|
self.env["WINE_LARGE_ADDRESS_AWARE"] = "0"
|
||||||
|
|
||||||
if "heapdelayfree" in self.compat_config:
|
if "heapdelayfree" in self.compat_config:
|
||||||
self.env["WINE_HEAP_DELAY_FREE"] = "1"
|
self.env["WINE_HEAP_DELAY_FREE"] = "1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue