From 5f9ca0807113ed6ff49362e9b12d639793b317af Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Sun, 7 Jul 2024 22:18:09 +0200 Subject: [PATCH] [util] Enable deviceLossOnFocussLoss for Rise of Nations To prevent it from crashing on a 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 42ae825d8..084669390 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -1118,6 +1118,10 @@ namespace dxvk { { "d3d9.maxFrameRate", "60" }, { "d3d8.placeP8InScratch", "True" }, }} }, + /* Rise of Nations + Expansion - alt-tab crash*/ + { R"(\\(nations|patriots)\.exe$)", {{ + { "d3d9.deviceLossOnFocusLoss", "True" }, + }} }, }};