From 8a35c3e8a88ad65592b1945924f026359c05fe15 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Mon, 25 May 2026 00:53:55 +0300 Subject: [PATCH] Update log message for manual polling --- OptiScaler/menu/menu_common.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OptiScaler/menu/menu_common.cpp b/OptiScaler/menu/menu_common.cpp index 1f03b119..3637bd15 100644 --- a/OptiScaler/menu/menu_common.cpp +++ b/OptiScaler/menu/menu_common.cpp @@ -7356,9 +7356,10 @@ void MenuCommon::Init(HWND InHwnd, bool isUWP) } else { - LOG_WARN("HWND does not belong to current process," - " Manual input polling will be used. HWND PID: {}, Current PID: {}", - hwndPid, GetCurrentProcessId()); + if (!Config::Instance()->ManualInputPolling.value_or_default()) + LOG_WARN("HWND does not belong to current process, Manual input polling will be used"); + else + LOG_DEBUG("Manual input polling enabled by config"); inputManual = true; }