From a276e138212da6460e19364a28b77ee577765202 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Wed, 19 Jun 2024 13:34:21 +0200 Subject: [PATCH] [util] Set deviceLossOnFocusLoss for Guild Wars Works around the game black screening on alt-tab when it is set to fullscreen with a non native resolution --- 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 efbaf304c..756af0531 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -948,6 +948,11 @@ namespace dxvk { { R"(\\Dragonshard\.exe$)", {{ { "d3d9.cachedDynamicBuffers", "True" }, }} }, + /* Guild Wars 1 - Alt-tab black screen when * + * fullscreen with non native resolution */ + { R"(\\Gw\.exe$)", {{ + { "d3d9.deviceLossOnFocusLoss", "True" }, + }} }, /**********************************************/