Skip to content

Commit

Permalink
submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Mar 6, 2024
1 parent 2b24d88 commit f95c49c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion external/injector
9 changes: 1 addition & 8 deletions source/dllblacklist.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
9 changes: 1 addition & 8 deletions source/fusiondxhook.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f95c49c

Please sign in to comment.