diff --git a/gchook/config.c b/gchook/config.c index cd2ebd4..c260536 100644 --- a/gchook/config.c +++ b/gchook/config.c @@ -32,5 +32,4 @@ void gc_hook_config_load( idmac_config_load(&cfg->idmac, filename); platform_config_load(&cfg->platform, filename); gc_dll_config_load(&cfg->dll, filename); - gfx_config_load(&cfg->gfx, filename); } \ No newline at end of file diff --git a/gchook/config.h b/gchook/config.h index 6b04c29..3adeedc 100644 --- a/gchook/config.h +++ b/gchook/config.h @@ -10,7 +10,6 @@ #include "gfxhook/config.h" struct gc_hook_config { - struct gfx_config gfx; struct idmac_config idmac; struct platform_config platform; struct gc_dll_config dll; diff --git a/gchook/dllmain.c b/gchook/dllmain.c index 5701302..09c50aa 100644 --- a/gchook/dllmain.c +++ b/gchook/dllmain.c @@ -7,9 +7,6 @@ #include "hook/process.h" #include "hooklib/serial.h" -#include "hooklib/cursor.h" -#include "gfxhook/gfx.h" -#include "gfxhook/d3d9.h" #include "idmac/idmac.h" @@ -72,10 +69,7 @@ static DWORD CALLBACK gc_pre_startup(void) goto fail; } - cursor_hook_init(); /* Initialize debug helpers */ - gfx_hook_init(&gc_hook_cfg.gfx); - gfx_d3d9_hook_init(&gc_hook_cfg.gfx, gc_hook_mod); dprintf("--- End gc_pre_startup ---\n");