From fd8a2c2496b320881abdf95a2af724bf10f41f0b Mon Sep 17 00:00:00 2001 From: FakeMichau <49685661+FakeMichau@users.noreply.github.com> Date: Sun, 10 May 2026 19:10:36 +0200 Subject: [PATCH] Fix NvngxFG not being selectable --- OptiScaler/menu/menu_common.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/OptiScaler/menu/menu_common.cpp b/OptiScaler/menu/menu_common.cpp index 67e5ab2c..679cc91c 100644 --- a/OptiScaler/menu/menu_common.cpp +++ b/OptiScaler/menu/menu_common.cpp @@ -1801,6 +1801,16 @@ bool MenuCommon::RenderMenu() refreshRate = Util::GetActiveRefreshRate(_handle); + auto optiPath = std::filesystem::path(Config::Instance()->MainDllPath.value()); + auto dllPath = optiPath / L"dlss-enabler-headless.dll"; + state.NvngxFgFilesAvailable = gExists.Get(dllPath); + + if (!state.NvngxFgFilesAvailable) + { + dllPath = optiPath / L"dlssg_to_fsr3_amd_is_better.dll"; + state.NvngxFgFilesAvailable = gExists.Get(dllPath); + } + if (State::Instance().currentFeature != nullptr) { if (State::Instance().currentFeature->GetUpscalerType() == Upscaler::DLSSD)