Fix nvngx replacement (#494)

This commit is contained in:
Michał Lewandowski
2025-06-02 22:02:32 +02:00
committed by GitHub
parent c64f274667
commit e76e1ad4c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1048,7 +1048,7 @@ void Config::CheckUpscalerFiles()
if (auto nvngxReplacement = Util::FindFilePath(Util::DllPath().remove_filename(), "nvngx_dlss.dll");
nvngxReplacement.has_value())
{
State::Instance().nvngxReplacement = nvngxReplacement.value().string();
State::Instance().nvngxReplacement = nvngxReplacement.value().wstring();
}
State::Instance().libxessExists = std::filesystem::exists(Util::ExePath().parent_path() / L"libxess.dll");
+1 -1
View File
@@ -167,7 +167,7 @@ class State
bool nvngxIniDetected = false;
bool nvngxExists = false;
std::optional<std::string> nvngxReplacement = std::nullopt;
std::optional<std::wstring> nvngxReplacement = std::nullopt;
bool libxessExists = false;
bool fsrHooks = false;