From 44d20090443597cdb433183af76f91dfdb96dbbe Mon Sep 17 00:00:00 2001 From: FakeMichau <49685661+FakeMichau@users.noreply.github.com> Date: Mon, 4 May 2026 21:56:24 +0200 Subject: [PATCH] Fix some dll finding issues Only skip dlls that are inside our streamline folder --- OptiScaler/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OptiScaler/dllmain.cpp b/OptiScaler/dllmain.cpp index ef7647c5..373c858c 100644 --- a/OptiScaler/dllmain.cpp +++ b/OptiScaler/dllmain.cpp @@ -1874,7 +1874,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv { std::filesystem::path dllsFolder(Config::Instance()->MainDllPath.value()); State::Instance().NVNGX_DLSS_Path = - Util::FindFilePath(dllsFolder.remove_filename(), "nvngx_dlss.dll"); + Util::FindFilePath(dllsFolder, "nvngx_dlss.dll"); } if (Config::Instance()->DLSSFeaturePath.has_value())