From 5cdee453875f76189e10c65b9c973d62637fbb05 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Thu, 11 Aug 2022 03:00:20 +0200 Subject: [PATCH] [util] Disable direct buffer mapping for GHWT The game ends up discarding a 11MB buffer which causes it to run out of address space and crash. Disabling direct buffer mapping makes it use staging buffers and the staging buffer limit saves the day. --- src/util/config/config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 9f96cba7..be6a1c04 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -611,6 +611,7 @@ namespace dxvk { * Very prone to address space crashes */ { R"(\\(GHWT|GHWT_Definitive)\.exe$)", {{ { "d3d9.textureMemory", "16" }, + { "d3d9.allowDirectBufferMapping", "False" }, }} }, }};