diff --git a/src/d3d/nvapi_d3d_low_latency_device.cpp b/src/d3d/nvapi_d3d_low_latency_device.cpp index 33294c4c..37cc1611 100644 --- a/src/d3d/nvapi_d3d_low_latency_device.cpp +++ b/src/d3d/nvapi_d3d_low_latency_device.cpp @@ -1,8 +1,9 @@ #include "nvapi_d3d_low_latency_device.h" namespace dxvk { - LowLatencyFrameIdGenerator::LowLatencyFrameIdGenerator() : m_nextLowLatencyDeviceFrameId(1), - m_applicationIdList({0}) {} + LowLatencyFrameIdGenerator::LowLatencyFrameIdGenerator() + : m_nextLowLatencyDeviceFrameId(1), + m_applicationIdList({0}) {} LowLatencyFrameIdGenerator::~LowLatencyFrameIdGenerator() = default; diff --git a/src/util/util_env.cpp b/src/util/util_env.cpp index 96fa5aa0..7af4dc88 100644 --- a/src/util/util_env.cpp +++ b/src/util/util_env.cpp @@ -131,12 +131,21 @@ namespace dxvk::env { return getExecutableName() == std::string("MonsterHunterWorld.exe"); } + bool isWarThunder() { + return getExecutableName() == std::string("aces.exe"); + } + bool needsPascalSpoofing(NV_GPU_ARCHITECTURE_ID architectureId) { if (architectureId >= NV_GPU_ARCHITECTURE_TU100 && isMonsterHunterWorld()) { log::write("Spoofing Pascal for Turing and later due to detecting MonsterHunterWorld.exe"); return true; } + if (architectureId >= NV_GPU_ARCHITECTURE_TU100 && isWarThunder()) { + log::write("Spoofing Pascal for Turing and later due to detecting aces.exe (War Thunder)"); + return true; + } + return false; }