1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-30 23:57:15 +01:00
segatools-dniel97/idzhook/config.h

35 lines
714 B
C
Raw Normal View History

2019-05-18 05:48:21 +02:00
#pragma once
2019-11-03 22:12:58 +01:00
#include <stdbool.h>
2019-05-18 05:48:21 +02:00
#include <stddef.h>
2019-11-06 02:11:25 +01:00
#include "amex/amex.h"
2019-05-18 05:48:21 +02:00
2019-11-06 02:11:25 +01:00
#include "board/sg-reader.h"
#include "hooklib/dvd.h"
2021-06-12 18:40:19 +02:00
#include "idzhook/idz-dll.h"
2019-11-06 02:11:25 +01:00
#include "idzhook/zinput.h"
2019-05-18 05:48:21 +02:00
2019-11-06 02:11:25 +01:00
#include "platform/platform.h"
2019-11-03 22:12:58 +01:00
2019-05-18 05:48:21 +02:00
struct idz_hook_config {
struct platform_config platform;
2019-05-18 05:48:21 +02:00
struct amex_config amex;
struct aime_config aime;
struct dvd_config dvd;
2021-06-12 18:40:19 +02:00
struct idz_dll_config dll;
2019-11-03 22:12:58 +01:00
struct zinput_config zinput;
2019-05-18 05:48:21 +02:00
};
2021-06-12 18:40:19 +02:00
void idz_dll_config_load(
struct idz_dll_config *cfg,
const wchar_t *filename);
2019-05-18 05:48:21 +02:00
void idz_hook_config_load(
struct idz_hook_config *cfg,
const wchar_t *filename);
2019-11-03 22:12:58 +01:00
void zinput_config_load(struct zinput_config *cfg, const wchar_t *filename);