Skip to content

Commit

Permalink
[util] Limit device memory size to 4095 MB for Life is Feudal MMO
Browse files Browse the repository at this point in the history
Reporting 4GB or more VRAM causes an integer overflow in this game.
Fixes #591.
  • Loading branch information
doitsujin committed Aug 24, 2018
1 parent 57db0b6 commit 73cbf5b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/util/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit 73cbf5b

Please sign in to comment.