Skip to content

Commit

Permalink
[util] Set deviceLossOnFocusLoss for Assassin's Creed 2 (#3763)
Browse files Browse the repository at this point in the history
Makes it not crash on alt tab using at least Proton. 
Windows will still have issues with alt tab.
  • Loading branch information
Blisto91 authored Jan 9, 2024
1 parent a44dfab commit eb80695
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/util/config/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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$)", {{
Expand Down

0 comments on commit eb80695

Please sign in to comment.