1
0
mirror of synced 2024-11-30 16:24:27 +01:00

mkac: fix gfx hook

This commit is contained in:
Kevin Trocolli 2024-06-18 00:28:38 -04:00
parent 50fabf4ff2
commit 202a750e0d

View File

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