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:
@ -5,7 +5,7 @@
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include "hooklib/dvd.h"
|
||||
#include "hooklib/gfx.h"
|
||||
#include "hooklib/gfx/gfx.h"
|
||||
|
||||
#include "mu3hook/config.h"
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "board/config.h"
|
||||
|
||||
#include "hooklib/dvd.h"
|
||||
#include "hooklib/gfx.h"
|
||||
#include "hooklib/gfx/gfx.h"
|
||||
|
||||
#include "mu3hook/mu3-dll.h"
|
||||
|
||||
|
@ -9,6 +9,10 @@
|
||||
#include "hook/process.h"
|
||||
|
||||
#include "hooklib/dvd.h"
|
||||
#include "hooklib/gfx/d3d9.h"
|
||||
#include "hooklib/gfx/d3d11.h"
|
||||
#include "hooklib/gfx/dxgi.h"
|
||||
#include "hooklib/gfx/gfx.h"
|
||||
#include "hooklib/serial.h"
|
||||
#include "hooklib/spike.h"
|
||||
|
||||
@ -39,6 +43,9 @@ static DWORD CALLBACK mu3_pre_startup(void)
|
||||
|
||||
dvd_hook_init(&mu3_hook_cfg.dvd, mu3_hook_mod);
|
||||
gfx_hook_init(&mu3_hook_cfg.gfx, mu3_hook_mod);
|
||||
gfx_d3d9_hook_init(&mu3_hook_cfg.gfx, mu3_hook_mod);
|
||||
gfx_d3d11_hook_init(&mu3_hook_cfg.gfx, mu3_hook_mod);
|
||||
gfx_dxgi_hook_init(&mu3_hook_cfg.gfx, mu3_hook_mod);
|
||||
serial_hook_init();
|
||||
|
||||
/* Initialize emulation hooks */
|
||||
|
@ -1,6 +1,11 @@
|
||||
LIBRARY mu3hook
|
||||
|
||||
EXPORTS
|
||||
CreateDXGIFactory
|
||||
CreateDXGIFactory1
|
||||
CreateDXGIFactory2
|
||||
D3D11CreateDevice
|
||||
D3D11CreateDeviceAndSwapChain
|
||||
Direct3DCreate9
|
||||
aime_io_get_api_version
|
||||
aime_io_init
|
||||
|
Reference in New Issue
Block a user