diff --git a/external/injector b/external/injector index d0c831ad..96724f78 160000 --- a/external/injector +++ b/external/injector @@ -1 +1 @@ -Subproject commit d0c831ad65b239cc629e8dfb12670d87212293fc +Subproject commit 96724f7802fa2f3c6bcb095b13bec7b7a0cc1d30 diff --git a/source/dllblacklist.ixx b/source/dllblacklist.ixx index 1434963d..348c10d5 100644 --- a/source/dllblacklist.ixx +++ b/source/dllblacklist.ixx @@ -130,13 +130,6 @@ public: if (baseLdrLoadDll == NULL) return; - try - { - safetyhook::execute_while_frozen([&] - { - realLdrLoadDll = safetyhook::create_inline(baseLdrLoadDll, LdrLoadDllHook); - }); - } - catch (...) {} + realLdrLoadDll = safetyhook::create_inline(baseLdrLoadDll, LdrLoadDllHook); } } DLLBlacklist; \ No newline at end of file diff --git a/source/fusiondxhook.ixx b/source/fusiondxhook.ixx index 44f3caf3..50fa1ef7 100644 --- a/source/fusiondxhook.ixx +++ b/source/fusiondxhook.ixx @@ -445,14 +445,7 @@ public: static inline void bind(HMODULE module, std::type_index type_index, uint16_t func_index, void* function, SafetyHookInline& hook) { auto target = deviceMethods.at(module).at(type_index).at(func_index); - try - { - safetyhook::execute_while_frozen([&] - { - hook = safetyhook::create_inline(target, function); - }); - } - catch (...) {} + hook = safetyhook::create_inline(target, function); } static inline void unbind(SafetyHookInline& hook) {