From 3e0031cefe0731f0d027ccc5f4fe45bf5ab5bfa9 Mon Sep 17 00:00:00 2001 From: WinterSnowfall Date: Mon, 29 Aug 2022 17:59:19 +0300 Subject: [PATCH] [util] Add a maxAvailableMemory limit for Heroes of Annihilated Empires --- src/util/config/config.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 4d0753cc7..a428654f7 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -595,6 +595,13 @@ namespace dxvk { { "d3d9.textureMemory", "16" }, { "d3d9.allowDirectBufferMapping", "False" }, }} }, + /* Heroes of Annihilated Empires * + * Has issues with texture rendering and * + * video memory detection otherwise. */ + { R"(\\Heroes (o|O)f Annihilated Empires.*\\engine\.exe$)", {{ + { "d3d9.memoryTrackTest", "True" }, + { "d3d9.maxAvailableMemory", "2048" }, + }} }, }};