From 73cbf5b3524ffbba63c950608619a35ef872d8ad Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 25 Aug 2018 01:23:22 +0200 Subject: [PATCH] [util] Limit device memory size to 4095 MB for Life is Feudal MMO Reporting 4GB or more VRAM causes an integer overflow in this game. Fixes #591. --- src/util/config/config.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 20927dbacda..0c30c86baf0 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -31,6 +31,11 @@ namespace dxvk { { "Frostpunk.exe", {{ { "dxgi.deferSurfaceCreation", "True" }, }} }, + /* Life is Feudal MMO */ + { "cm_client.exe", {{ + { "dxgi.maxDeviceMemory", "4095" }, + { "dxgi.maxSharedMemory", "4095" }, + }} }, /* Mafia 3 */ { "mafia3.exe", {{ { "d3d11.fakeStreamOutSupport", "True" },