From 8bb3e5360ed21ae89d53cdc3fb1c0dbc756262bb Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:58:38 +0200 Subject: [PATCH] Disable Nahimic code injection. --- platform/windows/os_windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index fcc4655cbe2..6423af95092 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -69,6 +69,7 @@ extern "C" { __declspec(dllexport) DWORD NvOptimusEnablement = 1; __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; +__declspec(dllexport) void NoHotPatch() {} // Disable Nahimic code injection. } // Workaround mingw-w64 < 4.0 bug