From d3e49cc154778e999cf241c8de2a8e8170b2155e Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Fri, 19 Apr 2024 09:50:16 -0600 Subject: [PATCH] Revert "HACK: proton: Add PROTON_HEAP_ZERO_MEMORY runtime config option." This reverts commit ccc1fda88970da322c351562eaf8a66a40ddfd54. --- proton | 9 --------- 1 file changed, 9 deletions(-) diff --git a/proton b/proton index bab498c2..72c48456 100755 --- a/proton +++ b/proton @@ -1109,11 +1109,6 @@ def default_compat_config(): ]: ret.add("heapdelayfree") - if appid in [ - "21980", #Call of Juarez: Bound in Blood - ]: - ret.add("heapzeromemory") - if appid in [ "2630", #Call of Duty 2 "1060210", #Disaster Report 4: Summer Memories @@ -1317,7 +1312,6 @@ class Session: self.check_environment("PROTON_SET_STEAM_DRIVE", "steamdrive") self.check_environment("PROTON_NO_XIM", "noxim") self.check_environment("PROTON_HEAP_DELAY_FREE", "heapdelayfree") - self.check_environment("PROTON_HEAP_ZERO_MEMORY", "heapzeromemory") self.check_environment("PROTON_DISABLE_NVAPI", "disablenvapi") self.check_environment("PROTON_FORCE_NVAPI", "forcenvapi") self.check_environment("PROTON_HIDE_APU", "hideapu") @@ -1353,9 +1347,6 @@ class Session: if "heapdelayfree" in self.compat_config: self.env["WINE_HEAP_DELAY_FREE"] = "1" - if "heapzeromemory" in self.compat_config: - self.env["WINE_HEAP_ZERO_MEMORY"] = "1" - if "vkd3dbindlesstb" in self.compat_config: append_to_env_str(self.env, "VKD3D_CONFIG", "force_bindless_texel_buffer", ",")