Make HKB hook public, with unity option fixes

This commit is contained in:
2024-06-08 00:43:06 -04:00
parent 94f9357382
commit 7051b849fa
23 changed files with 1054 additions and 0 deletions

33
hkbhook/config.h Normal file
View File

@ -0,0 +1,33 @@
#pragma once
#include <stddef.h>
#include "board/config.h"
#include "gfxhook/gfx.h"
#include "hooklib/dvd.h"
#include "hkbhook/hkb-dll.h"
#include "platform/config.h"
#include "hkbhook/led.h"
struct hkb_hook_config {
struct platform_config platform;
struct aime_config aime;
struct dvd_config dvd;
struct io4_config io4;
struct gfx_config gfx;
struct hkb_dll_config dll;
struct hkb_led_config led;
};
void hkb_dll_config_load(
struct hkb_dll_config *cfg,
const wchar_t *filename);
void hkb_hook_config_load(
struct hkb_hook_config *cfg,
const wchar_t *filename);