1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 16:08:50 +01:00

[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.
This commit is contained in:
Robin Kertels 2022-08-11 03:00:20 +02:00 committed by Joshie
parent 85c278f515
commit 5cdee45387

View File

@ -611,6 +611,7 @@ namespace dxvk {
* Very prone to address space crashes */ * Very prone to address space crashes */
{ R"(\\(GHWT|GHWT_Definitive)\.exe$)", {{ { R"(\\(GHWT|GHWT_Definitive)\.exe$)", {{
{ "d3d9.textureMemory", "16" }, { "d3d9.textureMemory", "16" },
{ "d3d9.allowDirectBufferMapping", "False" },
}} }, }} },
}}; }};