mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2026-08-25 13:24:38 -05:00
hooklib: Shift config structs around
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include "hooklib/gfx.h"
|
||||
|
||||
void gfx_config_load(struct gfx_config *cfg, const wchar_t *filename)
|
||||
{
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct gfx_config {
|
||||
bool enable;
|
||||
bool windowed;
|
||||
bool framed;
|
||||
};
|
||||
#include "hooklib/gfx.h"
|
||||
|
||||
void gfx_config_load(struct gfx_config *cfg, const wchar_t *filename);
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
struct gfx_config {
|
||||
bool enable;
|
||||
bool windowed;
|
||||
bool framed;
|
||||
};
|
||||
|
||||
void gfx_hook_init(const struct gfx_config *cfg);
|
||||
|
||||
Reference in New Issue
Block a user