From 2dae9c125d3c62193584efa5d84a485c7e50094e Mon Sep 17 00:00:00 2001 From: narzoul Date: Mon, 22 Apr 2024 22:13:53 +0200 Subject: [PATCH] Fixed blocking of the ForceDirectDrawEmulation shim See issue #280. --- DDrawCompat/Win32/Registry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/DDrawCompat/Win32/Registry.cpp b/DDrawCompat/Win32/Registry.cpp index 53315d1..1880a96 100644 --- a/DDrawCompat/Win32/Registry.cpp +++ b/DDrawCompat/Win32/Registry.cpp @@ -448,6 +448,7 @@ namespace Win32 HOOK_REGISTRY_FUNCTION(RegQueryValueExW, regQueryValueExW); Compat::hookIatFunction(Dll::g_origDDrawModule, "RegCreateKeyExA", ddrawRegCreateKeyExA); + Compat::hookIatFunction(Dll::g_origDDrawModule, "RegQueryValueExA", regQueryValueExA); } } }