From c6d562b388a7b66b95d359742ba6cfeab0320c1d Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Fri, 3 Nov 2023 15:23:49 -0600 Subject: [PATCH] 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 --- proton | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proton b/proton index 9ce46048..3c204d2c 100755 --- a/proton +++ b/proton @@ -1427,6 +1427,9 @@ class Session: if "forcelgadd" in self.compat_config: 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: self.env["WINE_HEAP_DELAY_FREE"] = "1"