From 7bad17c1d1d7864786abad4f7323b48699486c33 Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Fri, 10 May 2024 15:01:06 +0200 Subject: [PATCH] [util] Set deviceLossOnFocusLoss for The Sims 3 Prevents the game black screening on alt-tab --- src/util/config/config.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index dd07963ab..25d730f82 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -894,6 +894,10 @@ namespace dxvk { { "d3d9.deviceLossOnFocusLoss", "True" }, { "d3d9.cachedDynamicBuffers", "True" }, }} }, + /* The Sims 3 - Black screen on alt-tab */ + { R"(\\TS3(W)?\.exe$)", {{ + { "d3d9.deviceLossOnFocusLoss", "True" }, + }} }, /**********************************************/