From e4b619dc46d1ec44ff55b7f15f37064efbc86e6f Mon Sep 17 00:00:00 2001 From: cdozdil Date: Mon, 14 Apr 2025 01:09:03 +0300 Subject: [PATCH] Fix DLSS inputs not working on Nvidia --- OptiScaler/hooks/Kernel_Hooks.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/OptiScaler/hooks/Kernel_Hooks.h b/OptiScaler/hooks/Kernel_Hooks.h index db2878d6..2823f8ba 100644 --- a/OptiScaler/hooks/Kernel_Hooks.h +++ b/OptiScaler/hooks/Kernel_Hooks.h @@ -60,12 +60,6 @@ private: { LOG_TRACE("{}", lcaseLibName); - if (lcaseLibName.rfind("driverstore") != std::string::npos) - { - LOG_DEBUG("Skip driver call: {}", lcaseLibName); - return nullptr; - } - // If Opti is not loading as nvngx.dll if (!State::Instance().enablerAvailable && !State::Instance().isWorkingAsNvngx) { @@ -384,12 +378,6 @@ private: auto lcaseLibNameA = wstring_to_string(lcaseLibName); LOG_TRACE("{}", lcaseLibNameA); - if (lcaseLibNameA.rfind("driverstore") != std::string::npos) - { - LOG_DEBUG("Skip driver call: {}", lcaseLibNameA); - return nullptr; - } - // If Opti is not loading as nvngx.dll if (!State::Instance().enablerAvailable && !State::Instance().isWorkingAsNvngx) {