bananatools/ferrumhook/config.h

35 lines
771 B
C

#pragma once
#include <stddef.h>
#include "ferrumhook/ferrum-dll.h"
#include "ferrumhook/xinput.h"
#include "ferrumhook/jvs.h"
#include "board/bpreader.h"
#include "platform/config.h"
#include "gfxhook/config.h"
#include "amcus/config.h"
struct ferrum_hook_config {
struct platform_config platform;
struct ferrum_dll_config dll;
struct ferrum_xinput_config xinput;
struct gfx_config gfx;
struct amcus_config amcus;
struct bpreader_config reader;
};
void ferrum_dll_config_load(
struct ferrum_dll_config *cfg,
const wchar_t *filename);
void ferrum_xinput_config_load(
struct ferrum_xinput_config *cfg,
const wchar_t *filename);
void ferrum_hook_config_load(
struct ferrum_hook_config *cfg,
const wchar_t *filename);