From 1f1e7e824f10e7b4a02ddc165ae8d341ff31f84e Mon Sep 17 00:00:00 2001 From: Ramen2X <64166386+Ramen2X@users.noreply.github.com> Date: Tue, 30 Jan 2024 16:38:57 -0500 Subject: [PATCH] lib: disable pick() and getpickrecords() hook --- lib/hooks.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/hooks.cpp b/lib/hooks.cpp index 63c96f8..0fe22cc 100644 --- a/lib/hooks.cpp +++ b/lib/hooks.cpp @@ -529,6 +529,8 @@ HRESULT WINAPI InterceptD3DRMCreateViewport(LPDIRECT3DRM d3drm, LPDIRECT3DRMDEVI d3drm_device = device; + /* Disabled temporarily until this implementation of Pick becomes more reliable + // Check if we're running on Wine, in which case we'll override Pick() and GetPickRecords() if (HMODULE ntdll = GetModuleHandle("NTDLL.DLL")) { if (GetProcAddress(ntdll, "wine_get_version")) { @@ -541,7 +543,7 @@ HRESULT WINAPI InterceptD3DRMCreateViewport(LPDIRECT3DRM d3drm, LPDIRECT3DRMDEVI } } } - } + }*/ if (res == DD_OK) { if (!d3drmDeviceUpdateOriginal) {