forked from TeamTofuShop/segatools
hooklib: Add D3D11 and DXGI graphics hooks
IDZ only supports D3D11 and Ongeki/Unity uses D3D11 by default. This also includes a window hook and fullscreen fix for problematic games (I am looking at you IDZ).
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
#include "chunihook/config.h"
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include "hooklib/gfx.h"
|
||||
#include "hooklib/gfx/gfx.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
#include "platform/platform.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "chunihook/chuni-dll.h"
|
||||
#include "chunihook/slider.h"
|
||||
|
||||
#include "hooklib/gfx.h"
|
||||
#include "hooklib/gfx/gfx.h"
|
||||
|
||||
#include "platform/platform.h"
|
||||
|
||||
|
@ -14,7 +14,8 @@
|
||||
|
||||
#include "hook/process.h"
|
||||
|
||||
#include "hooklib/gfx.h"
|
||||
#include "hooklib/gfx/d3d9.h"
|
||||
#include "hooklib/gfx/gfx.h"
|
||||
#include "hooklib/serial.h"
|
||||
#include "hooklib/spike.h"
|
||||
|
||||
@ -61,6 +62,7 @@ static DWORD CALLBACK chuni_pre_startup(void)
|
||||
/* Hook Win32 APIs */
|
||||
|
||||
gfx_hook_init(&chuni_hook_cfg.gfx, chuni_hook_mod);
|
||||
gfx_d3d9_hook_init(&chuni_hook_cfg.gfx, chuni_hook_mod);
|
||||
serial_hook_init();
|
||||
|
||||
/* Initialize emulation hooks */
|
||||
|
Reference in New Issue
Block a user