mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-29 21:13:14 +00:00
Fix nvngx replacement (#494)
This commit is contained in:
committed by
GitHub
parent
c64f274667
commit
e76e1ad4c4
@@ -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
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user