mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-27 22:40:48 +01:00
61 lines
1.2 KiB
C
61 lines
1.2 KiB
C
|
#include <windows.h>
|
||
|
|
||
|
#include <assert.h>
|
||
|
#include <stdbool.h>
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include "amex/amex.h"
|
||
|
#include "amex/config.h"
|
||
|
|
||
|
#include "board/config.h"
|
||
|
#include "board/sg-reader.h"
|
||
|
|
||
|
#include "cxbhook/config.h"
|
||
|
|
||
|
#include "gfxhook/config.h"
|
||
|
|
||
|
#include "hooklib/config.h"
|
||
|
|
||
|
#include "platform/config.h"
|
||
|
#include "platform/platform.h"
|
||
|
|
||
|
void cxb_dll_config_load(
|
||
|
struct cxb_dll_config *cfg,
|
||
|
const wchar_t *filename)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void revio_config_load(struct revio_config *cfg, const wchar_t *filename)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void network_config_load(struct network_config *cfg, const wchar_t *filename)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void led_config_load(struct led_config *cfg, const wchar_t *filename)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void cxb_hook_config_load(
|
||
|
struct cxb_hook_config *cfg,
|
||
|
const wchar_t *filename)
|
||
|
{
|
||
|
assert(cfg != NULL);
|
||
|
assert(filename != NULL);
|
||
|
|
||
|
memset(cfg, 0, sizeof(*cfg));
|
||
|
|
||
|
platform_config_load(&cfg->platform, filename);
|
||
|
amex_config_load(&cfg->amex, filename);
|
||
|
aime_config_load(&cfg->aime, filename);
|
||
|
gfx_config_load(&cfg->gfx, filename);
|
||
|
cxb_dll_config_load(&cfg->dll, filename);
|
||
|
revio_config_load(&cfg->revio, filename);
|
||
|
network_config_load(&cfg->network, filename);
|
||
|
led_config_load(&cfg->led, filename);
|
||
|
}
|