From 5037e49646e38d09487df55d15d7a5fe0064bb9a Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Tue, 20 Jul 2021 20:07:06 +0200 Subject: [PATCH] [util] Merge GTA IV configs The app config system can not handle more than one entry per exe name, so the enableUMA one disabled the NVAPI workaround. --- src/util/config/config.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index e3734c9e..7e331c33 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -233,11 +233,6 @@ namespace dxvk { { R"(\\cm3\.exe$)", {{ { "dxgi.customDeviceDesc", "DXVK Adapter" }, }} }, - /* GTA IV: Thinks we're always on Intel * - * and will report/use bad amounts of VRAM. */ - { R"(\\GTAIV\.exe$)", {{ - { "dxgi.emulateUMA", "True" }, - }} }, /* World of Final Fantasy: Broken and useless * * use of 4x MSAA throughout the renderer */ { R"(\\WOFF\.exe$)", {{ @@ -373,8 +368,11 @@ namespace dxvk { { "d3d9.noExplicitFrontBuffer", "True" }, }} }, /* GTA IV (NVAPI) */ + /* Also thinks we're always on Intel * + * and will report/use bad amounts of VRAM. */ { R"(\\GTAIV\.exe$)", {{ { "d3d9.customVendorId", "1002" }, + { "dxgi.emulateUMA", "True" }, }} }, /* Battlefield 2 (bad z-pass) */ { R"(\\BF2\.exe$)", {{