forked from Hay1tsme/segatools
hooklib: Shift config structs around
This commit is contained in:
parent
8b8656c9d2
commit
8485879ff7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user