From eb806952d8d0da94e3c0d449b643f80ee2005030 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:43:48 +0100 Subject: [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. --- src/util/config/config.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ -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$)", {{ -- cgit v1.2.3