Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/config/config.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp
index b30086de..665fdf9a 100644
--- a/src/util/config/config.cpp
+++ b/src/util/config/config.cpp
@@ -545,9 +545,15 @@ namespace dxvk {
{ "d3d9.supportDFFormats", "False" },
{ "d3d9.deviceLossOnFocusLoss", "True" },
}} },
- /* Battlefield 2 (bad z-pass) */
+ /* Battlefield 2 *
+ * Bad z-pass and ingame GUI loss on alt tab */
{ R"(\\BF2\.exe$)", {{
- { "d3d9.longMad", "True" },
+ { "d3d9.longMad", "True" },
+ { "d3d9.deviceLossOnFocusLoss", "True" },
+ }} },
+ /* Battlefield 2142 - Same GUI issue as BF2 */
+ { R"(\\BF2142\.exe$)", {{
+ { "d3d9.deviceLossOnFocusLoss", "True" },
}} },
/* SpellForce 2 Series */
{ R"(\\SpellForce2.*\.exe$)", {{