From a5fc08d17693fd5b7438a6e2701cda7309e3de20 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Wed, 10 Jul 2024 18:56:32 +0200 Subject: [PATCH] [util] Disable direct buffer mapping for Max Payne 1 Improves performance by avoiding stalls. --- src/util/config/config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 25eaaf87..f3b36bec 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -1129,6 +1129,10 @@ namespace dxvk { { R"(\\Art of Murder - FBI Confidential\\game\.exe$)", {{ { "d3d9.cachedDynamicBuffers", "True" }, }} }, + /* Max Payne 1 - Stalls waiting for an index buffer */ + { R"(\\MaxPayne\.exe$)", {{ + { "d3d9.allowDirectBufferMapping", "False" }, + }} }, }};