From 3794afc7c48df85c0028634d525dee015ec61d57 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 3 Sep 2019 08:41:08 -0400 Subject: [PATCH] fix not recognizing mono-2.0-bdwgc --- texthook/engine/match64.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/texthook/engine/match64.cc b/texthook/engine/match64.cc index 90cf81d..e9787fb 100644 --- a/texthook/engine/match64.cc +++ b/texthook/engine/match64.cc @@ -144,7 +144,7 @@ namespace Engine for (const wchar_t* moduleName : { (const wchar_t*)NULL, L"node.dll", L"nw.dll" }) if (InsertV8Hook(GetModuleHandleW(moduleName))) return true; - for (const wchar_t* monoName : { L"mono", L"mono-2.0-bdwgc" }) if (HMODULE module = GetModuleHandleW(monoName)) if (InsertMonoHooks(module)) return true; + for (const wchar_t* monoName : { L"mono.dll", L"mono-2.0-bdwgc.dll" }) if (HMODULE module = GetModuleHandleW(monoName)) if (InsertMonoHooks(module)) return true; for (std::wstring DXVersion : { L"d3dx9", L"d3dx10" }) if (HMODULE module = GetModuleHandleW(DXVersion.c_str())) PcHooks::hookD3DXFunctions(module);