forked from TeamTofuShop/segatools
add half-working CXB support
This commit is contained in:
61
cxbhook/config.c
Normal file
61
cxbhook/config.c
Normal file
@ -0,0 +1,61 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user