[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.
This commit is contained in:
Blisto91 2023-12-23 22:30:24 +01:00 committed by GitHub
parent adb33d3af1
commit 8351d32c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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) */