mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-23 21:10:57 +01:00
gfxhook/gfx.c: Remove unused self parameter
This commit is contained in:
parent
b6274f71a5
commit
7c90a79f69
@ -62,7 +62,7 @@ static DWORD CALLBACK chuni_pre_startup(void)
|
||||
|
||||
/* Hook Win32 APIs */
|
||||
|
||||
gfx_hook_init(&chuni_hook_cfg.gfx, chuni_hook_mod);
|
||||
gfx_hook_init(&chuni_hook_cfg.gfx);
|
||||
gfx_d3d9_hook_init(&chuni_hook_cfg.gfx, chuni_hook_mod);
|
||||
serial_hook_init();
|
||||
|
||||
|
@ -26,7 +26,7 @@ static const struct hook_symbol gfx_hooks[] = {
|
||||
},
|
||||
};
|
||||
|
||||
void gfx_hook_init(const struct gfx_config *cfg, HINSTANCE self)
|
||||
void gfx_hook_init(const struct gfx_config *cfg)
|
||||
{
|
||||
assert(cfg != NULL);
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct gfx_config {
|
||||
@ -11,4 +9,4 @@ struct gfx_config {
|
||||
int monitor;
|
||||
};
|
||||
|
||||
void gfx_hook_init(const struct gfx_config *cfg, HINSTANCE self);
|
||||
void gfx_hook_init(const struct gfx_config *cfg);
|
||||
|
@ -67,7 +67,7 @@ static DWORD CALLBACK idz_pre_startup(void)
|
||||
/* Hook Win32 APIs */
|
||||
|
||||
serial_hook_init();
|
||||
gfx_hook_init(&idz_hook_cfg.gfx, idz_hook_mod);
|
||||
gfx_hook_init(&idz_hook_cfg.gfx);
|
||||
gfx_d3d11_hook_init(&idz_hook_cfg.gfx, idz_hook_mod);
|
||||
gfx_dxgi_hook_init(&idz_hook_cfg.gfx, idz_hook_mod);
|
||||
zinput_hook_init(&idz_hook_cfg.zinput);
|
||||
|
@ -43,7 +43,7 @@ static DWORD CALLBACK mu3_pre_startup(void)
|
||||
/* Hook Win32 APIs */
|
||||
|
||||
dvd_hook_init(&mu3_hook_cfg.dvd, mu3_hook_mod);
|
||||
gfx_hook_init(&mu3_hook_cfg.gfx, mu3_hook_mod);
|
||||
gfx_hook_init(&mu3_hook_cfg.gfx);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user