[util] Enable deviceLossOnFocusLoss for BF2 and BF2142

The ingame spawn and gear selection GUI can disappear from view unless this is set.
This commit is contained in:
Blisto91 2024-01-14 22:15:56 +01:00 committed by Philip Rebohle
parent eb806952d8
commit 854e06d3f0
1 changed files with 8 additions and 2 deletions

View File

@ -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$)", {{