Skip to content

Commit

Permalink
proton: Enable WINE_HEAP_TOP_DOWN hack for Crazy Taxi.
Browse files Browse the repository at this point in the history
CW-Bug-Id: #24362
  • Loading branch information
Paul Gofman committed Oct 11, 2024
1 parent 5b26b6a commit 491ca26
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proton
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,11 @@ def default_compat_config():
]:
ret.add("heapzeromemory")

if appid in [
"71230", #Crazy Taxi
]:
ret.add("heaptopdown")

if appid in [
"2630", #Call of Duty 2
"1060210", #Disaster Report 4: Summer Memories
Expand Down Expand Up @@ -1433,6 +1438,9 @@ class Session:
if "heapzeromemory" in self.compat_config:
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:
append_to_env_str(self.env, "VKD3D_CONFIG", "force_bindless_texel_buffer", ",")

Expand Down

0 comments on commit 491ca26

Please sign in to comment.