diff options
author | Blisto91 <47954800+Blisto91@users.noreply.github.com> | 2024-01-09 12:43:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-09 12:43:48 +0300 |
commit | eb806952d8d0da94e3c0d449b643f80ee2005030 (patch) | |
tree | 7180884b2b9ab96f1e9d3b3aa9b178414afc61ec | |
parent | a44dfabe262cc7e0ff8ffb5a44f8eab9cea706aa (diff) |
[util] Set deviceLossOnFocusLoss for Assassin's Creed 2 (#3763)
Makes it not crash on alt tab using at least Proton.
Windows will still have issues with alt tab.
-rw-r--r-- | src/util/config/config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index fb86ed56..b30086de 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -841,6 +841,11 @@ namespace dxvk { { R"(\\SkyDrift\.exe$)" , {{ { "d3d9.allowDirectBufferMapping", "False" }, }} }, + /* Assassin's Creed 2 * + * Helps alt tab crash on Linux */ + { R"(\\AssassinsCreedIIGame\.exe$)" , {{ + { "d3d9.deviceLossOnFocusLoss", "True" }, + }} }, /* Sonic CD */ { R"(\\soniccd\.exe$)", {{ { "d3d9.maxFrameRate", "60" }, |