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:
authorBlisto91 <47954800+Blisto91@users.noreply.github.com>2024-01-15 00:15:56 +0300
committerPhilip Rebohle <25567304+doitsujin@users.noreply.github.com>2024-01-15 00:25:43 +0300
commit854e06d3f04e9d00df0a55a9fe4bbacf6a302189 (patch)
tree66fed5b0c597a3b12b6a7909f9f0a6fb6616ca06
parenteb806952d8d0da94e3c0d449b643f80ee2005030 (diff)
[util] Enable deviceLossOnFocusLoss for BF2 and BF2142
The ingame spawn and gear selection GUI can disappear from view unless this is set.
-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$)", {{