From 782373b9096a06cbdb69530edaddb13135b2ad44 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Fri, 7 Mar 2025 17:01:57 +0100 Subject: [PATCH] [util] Enable extra frontbuffer for Silent Hill 2 --- src/util/config/config.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 3a8d72e94..2d8913826 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -1027,6 +1027,16 @@ namespace dxvk { { R"(\\CivCity Rome\.exe$)", {{ { "d3d9.customVendorId", "10de" }, }} }, + /* Silent Hill 2 (2001) * + * The Enhancements mod configures the * + * swapchain to only have a single backbuffer * + * and then calls GetFrontBufferData after * + * rendering to the backbuffer. This causes * + * it to get the wrong data from * + * GetFrontBufferData(). */ + { R"(\\sh2pc\.exe$)", {{ + { "d3d9.extraFrontbuffer", "True" }, + }} }, /**********************************************/ /* D3D8 GAMES */