Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[util] Enable deviceLossOnFocusLoss for BF2 and BF2142 #3797

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/util/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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$)", {{
Expand Down