hooklib: add debugger trap defuser (thanks PockyWitch!)
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include "hook/process.h"
|
||||
|
||||
#include "hooklib/serial.h"
|
||||
#include "hooklib/debug.h"
|
||||
|
||||
#include "platform/platform.h"
|
||||
#include "gfxhook/gfx.h"
|
||||
@ -70,6 +71,8 @@ static DWORD CALLBACK ferrum_pre_startup(void)
|
||||
ExitProcess(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
debug_hook_init();
|
||||
|
||||
gfx_hook_init(&ferrum_hook_cfg.gfx);
|
||||
gfx_d3d11_hook_init(&ferrum_hook_cfg.gfx, ferrum_hook_mod);
|
||||
gfx_dxgi_hook_init(&ferrum_hook_cfg.gfx, ferrum_hook_mod);
|
||||
|
Reference in New Issue
Block a user