diff --git a/mkachook/dllmain.c b/mkachook/dllmain.c index 4495472..bde95ab 100644 --- a/mkachook/dllmain.c +++ b/mkachook/dllmain.c @@ -15,8 +15,7 @@ #include "platform/platform.h" #include "gfxhook/gfx.h" -#include "gfxhook/dxgi.h" -#include "gfxhook/d3d11.h" +#include "gfxhook/d3d9.h" #include "board/bpreader.h" #include "util/dprintf.h" @@ -74,8 +73,7 @@ static DWORD CALLBACK mkac_pre_startup(void) debug_hook_init(); gfx_hook_init(&mkac_hook_cfg.gfx); - gfx_d3d11_hook_init(&mkac_hook_cfg.gfx, mkac_hook_mod); - gfx_dxgi_hook_init(&mkac_hook_cfg.gfx, mkac_hook_mod); + gfx_d3d9_hook_init(&mkac_hook_cfg.gfx, mkac_hook_mod); dprintf("--- End mkac_pre_startup ---\n");