proton: Enable WINE_HEAP_TOP_DOWN hack for Crazy Taxi.

CW-Bug-Id: #24362
This commit is contained in:
Paul Gofman 2024-10-10 21:34:33 -06:00
parent 5b26b6a1d4
commit 491ca2616d

8
proton
View File

@ -1127,6 +1127,11 @@ def default_compat_config():
]: ]:
ret.add("heapzeromemory") ret.add("heapzeromemory")
if appid in [
"71230", #Crazy Taxi
]:
ret.add("heaptopdown")
if appid in [ if appid in [
"2630", #Call of Duty 2 "2630", #Call of Duty 2
"1060210", #Disaster Report 4: Summer Memories "1060210", #Disaster Report 4: Summer Memories
@ -1433,6 +1438,9 @@ class Session:
if "heapzeromemory" in self.compat_config: if "heapzeromemory" in self.compat_config:
self.env["WINE_HEAP_ZERO_MEMORY"] = "1" self.env["WINE_HEAP_ZERO_MEMORY"] = "1"
if "heaptopdown" in self.compat_config:
self.env["WINE_HEAP_TOP_DOWN"] = "1"
if "vkd3dbindlesstb" in self.compat_config: if "vkd3dbindlesstb" in self.compat_config:
append_to_env_str(self.env, "VKD3D_CONFIG", "force_bindless_texel_buffer", ",") append_to_env_str(self.env, "VKD3D_CONFIG", "force_bindless_texel_buffer", ",")