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:
16
hooklib/gfx/gfx.h
Normal file
16
hooklib/gfx/gfx.h
Normal file
@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct gfx_config {
|
||||
bool enable;
|
||||
bool windowed;
|
||||
bool framed;
|
||||
int monitor;
|
||||
};
|
||||
|
||||
void gfx_hook_init(const struct gfx_config *cfg, HINSTANCE self);
|
||||
|
||||
HRESULT gfx_frame_window(HWND hwnd);
|
Reference in New Issue
Block a user