From 8351d32c2c4e2e040bb4913f016540244fc6dd70 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Sat, 23 Dec 2023 22:30:24 +0100 Subject: [PATCH] [util] Set deviceLossOnFocusLoss for Assassin's Creed 2 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 ba8356d13ca..bfc25fa719a 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -836,6 +836,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" }, + }} }, /**********************************************/ /* D3D12 GAMES (vkd3d-proton with dxvk dxgi) */