[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.
This commit is contained in:
Blisto91 2024-01-09 10:43:48 +01:00 committed by GitHub
parent a44dfabe26
commit eb806952d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -840,6 +840,11 @@ namespace dxvk {
* Works around alt tab OOM crash */
{ 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$)", {{