1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-27 04:54:15 +01:00

[util] Disable counting losables for Battlefield 2 & 2142

This commit is contained in:
Robin Kertels 2024-07-07 12:33:42 +02:00 committed by Philip Rebohle
parent 6ffd5acefa
commit 5a0f05ae66

View File

@ -576,15 +576,15 @@ namespace dxvk {
{ "d3d9.supportDFFormats", "False" }, { "d3d9.supportDFFormats", "False" },
{ "d3d9.deviceLossOnFocusLoss", "True" }, { "d3d9.deviceLossOnFocusLoss", "True" },
}} }, }} },
/* Battlefield 2 * /* Battlefield 2 & Battlefield 2142 *
* Bad z-pass and ingame GUI loss on alt tab */ * Bad z-pass and ingame GUI loss on alt tab *
{ R"(\\BF2\.exe$)", {{ * Also hang when alt tabbing which seems *
{ "d3d9.longMad", "True" }, * like a game bug that d3d9 drivers work *
{ "d3d9.deviceLossOnFocusLoss", "True" }, * around. */
}} }, { R"(\\(BF2|BF2142)\.exe$)", {{
/* Battlefield 2142 - Same GUI issue as BF2 */ { "d3d9.longMad", "True" },
{ R"(\\BF2142\.exe$)", {{
{ "d3d9.deviceLossOnFocusLoss", "True" }, { "d3d9.deviceLossOnFocusLoss", "True" },
{ "d3d9.countLosableResources", "False"},
}} }, }} },
/* SpellForce 2 Series */ /* SpellForce 2 Series */
{ R"(\\SpellForce2.*\.exe$)", {{ { R"(\\SpellForce2.*\.exe$)", {{