1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-04 07:24:15 +01:00

[util] Set maxDeviceMemory for GTA IV

... and replace emulateUMA
This commit is contained in:
Robin Kertels 2024-08-24 18:08:54 +02:00 committed by Philip Rebohle
parent 1c30bc92bb
commit 9a280b063a

View File

@ -592,14 +592,15 @@ namespace dxvk {
}} }, }} },
/* GTA IV (NVAPI) */ /* GTA IV (NVAPI) */
/* Also thinks we're always on Intel * /* 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 * Disabling support for DF texture formats
* makes the game use a better looking render * makes the game use a better looking render
* path for mirrors. * path for mirrors.
* Also runs into issues after alt-tabbing. */ * Also runs into issues after alt-tabbing. */
{ R"(\\(GTAIV|EFLC)\.exe$)", {{ { R"(\\(GTAIV|EFLC)\.exe$)", {{
{ "d3d9.customVendorId", "1002" }, { "d3d9.customVendorId", "1002" },
{ "dxgi.emulateUMA", "True" }, { "dxgi.maxDeviceMemory", "128" },
{ "d3d9.supportDFFormats", "False" }, { "d3d9.supportDFFormats", "False" },
{ "d3d9.deviceLossOnFocusLoss", "True" }, { "d3d9.deviceLossOnFocusLoss", "True" },
}} }, }} },