1
0
mirror of synced 2024-11-24 05:50:12 +01:00
bananatools/taikohook/config.h
2023-03-16 01:45:39 -04:00

46 lines
1012 B
C

#pragma once
#include <stddef.h>
#include "taikohook/taiko-dll.h"
#include "taikohook/bnusio.h"
#include "taikohook/qr.h"
#include "taikohook/network.h"
#include "platform/config.h"
#include "gfxhook/config.h"
#include "amcus/config.h"
#include "board/bpreader.h"
struct taiko_hook_config {
struct platform_config platform;
struct taiko_dll_config dll;
struct bnusio_config bnusio;
struct gfx_config gfx;
struct amcus_config amcus;
struct qr_config qr;
struct ferrum_network_config network;
struct bpreader_config reader;
};
void taiko_dll_config_load(
struct taiko_dll_config *cfg,
const wchar_t *filename);
void bnusio_config_load(
struct bnusio_config *cfg,
const wchar_t *filename);
void qr_config_load(
struct qr_config *cfg,
const wchar_t *filename);
void network_config_load(
struct ferrum_network_config *cfg,
const wchar_t *filename);
void taiko_hook_config_load(
struct taiko_hook_config *cfg,
const wchar_t *filename);