From 7115d0dcd437bd61135ed07a7917c76531eac1be Mon Sep 17 00:00:00 2001 From: FakeMichau <49685661+FakeMichau@users.noreply.github.com> Date: Mon, 11 May 2026 20:37:20 +0200 Subject: [PATCH] Adjust path for the branch --- OptiScaler/dllmain.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OptiScaler/dllmain.cpp b/OptiScaler/dllmain.cpp index 373c858c..d9976768 100644 --- a/OptiScaler/dllmain.cpp +++ b/OptiScaler/dllmain.cpp @@ -1751,7 +1751,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv // Main Opti DLL path if (!Config::Instance()->MainDllPath.has_value()) { - Config::Instance()->MainDllPath.set_volatile_value(L"OptiScaler"); + Config::Instance()->MainDllPath.set_volatile_value(L"."); } if (std::filesystem::path mainDllPath(Config::Instance()->MainDllPath.value()); mainDllPath.is_relative()) @@ -1873,8 +1873,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv if (!State::Instance().NVNGX_DLSS_Path.has_value() && Config::Instance()->MainDllPath.has_value()) { std::filesystem::path dllsFolder(Config::Instance()->MainDllPath.value()); - State::Instance().NVNGX_DLSS_Path = - Util::FindFilePath(dllsFolder, "nvngx_dlss.dll"); + State::Instance().NVNGX_DLSS_Path = Util::FindFilePath(dllsFolder, "nvngx_dlss.dll"); } if (Config::Instance()->DLSSFeaturePath.has_value())