diff --git a/src/Features/Upscaling.cpp b/src/Features/Upscaling.cpp index 7e3191d24c..a9963c36e5 100644 --- a/src/Features/Upscaling.cpp +++ b/src/Features/Upscaling.cpp @@ -352,6 +352,12 @@ void Upscaling::RestoreDefaultSettings() settings = {}; } +void Upscaling::DataLoaded() +{ + // Fix screenshots fix from Engine Fixes + RE::GetINISetting("bUseTAA:Display")->data.b = false; +} + void Upscaling::Load() { *(uintptr_t*)&ptrD3D11CreateDeviceAndSwapChainUpscaling = SKSE::PatchIAT(hk_D3D11CreateDeviceAndSwapChainUpscaling, "d3d11.dll", "D3D11CreateDeviceAndSwapChain"); diff --git a/src/Features/Upscaling.h b/src/Features/Upscaling.h index 41538ab833..30880ee032 100644 --- a/src/Features/Upscaling.h +++ b/src/Features/Upscaling.h @@ -93,6 +93,7 @@ struct Upscaling : Feature virtual void SaveSettings(json& o_json) override; virtual void LoadSettings(json& o_json) override; virtual void RestoreDefaultSettings() override; + virtual void DataLoaded() override; /** * @brief Installs Direct3D-related hooks for device and factory creation.