From 9a280b063ab1a95116176f7a331f10f0700d169d Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Sat, 24 Aug 2024 18:08:54 +0200 Subject: [PATCH] [util] Set maxDeviceMemory for GTA IV ... and replace emulateUMA --- src/util/config/config.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index a0767fa3..25eaaf87 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -592,14 +592,15 @@ namespace dxvk { }} }, /* GTA IV (NVAPI) */ /* Also thinks we're always on Intel * - * and will report/use bad amounts of VRAM. + * and will report/use bad amounts of VRAM + * if we report more than 128 MB of VRAM. * Disabling support for DF texture formats * makes the game use a better looking render * path for mirrors. * Also runs into issues after alt-tabbing. */ { R"(\\(GTAIV|EFLC)\.exe$)", {{ { "d3d9.customVendorId", "1002" }, - { "dxgi.emulateUMA", "True" }, + { "dxgi.maxDeviceMemory", "128" }, { "d3d9.supportDFFormats", "False" }, { "d3d9.deviceLossOnFocusLoss", "True" }, }} },