swdc: first segatools added

This commit is contained in:
2023-07-14 00:52:50 +02:00
parent 89195ed60b
commit ec072667b3
31 changed files with 2167 additions and 1 deletions

32
swdchook/config.h Normal file
View File

@ -0,0 +1,32 @@
#pragma once
#include <stdbool.h>
#include <stddef.h>
#include "board/config.h"
#include "hooklib/dvd.h"
#include "swdchook/swdc-dll.h"
#include "swdchook/zinput.h"
#include "platform/platform.h"
struct swdc_hook_config {
struct platform_config platform;
struct aime_config aime;
struct dvd_config dvd;
struct io4_config io4;
struct swdc_dll_config dll;
struct zinput_config zinput;
};
void swdc_dll_config_load(
struct swdc_dll_config *cfg,
const wchar_t *filename);
void swdc_hook_config_load(
struct swdc_hook_config *cfg,
const wchar_t *filename);
void zinput_config_load(struct zinput_config *cfg, const wchar_t *filename);