mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-14 17:17:36 +01:00
b6f1ca6437
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).
17 lines
256 B
C
17 lines
256 B
C
#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);
|