cardhook: Fold back into chunihook

And so the cycle goes on.
This commit is contained in:
Tau
2019-11-03 15:38:15 -05:00
parent fc345a46a7
commit dfc1e13397
7 changed files with 10 additions and 76 deletions

View File

@ -6,6 +6,8 @@
#include "amex/config.h"
#include "board/config.h"
#include "chunihook/config.h"
#include "hooklib/config.h"
@ -31,6 +33,7 @@ void chuni_hook_config_load(
platform_config_load(&cfg->platform, filename);
amex_config_load(&cfg->amex, filename);
aime_config_load(&cfg->aime, filename);
gfx_config_load(&cfg->gfx, filename);
slider_config_load(&cfg->slider, filename);
}

View File

@ -5,6 +5,8 @@
#include "amex/config.h"
#include "board/config.h"
#include "hooklib/config.h"
#include "platform/config.h"
@ -16,6 +18,7 @@ struct slider_config {
struct chuni_hook_config {
struct platform_config platform;
struct amex_config amex;
struct aime_config aime;
struct gfx_config gfx;
struct slider_config slider;
};

View File

@ -5,6 +5,8 @@
#include "amex/amex.h"
#include "board/sg-reader.h"
#include "chunihook/config.h"
#include "chunihook/jvs.h"
#include "chunihook/slider.h"
@ -60,6 +62,7 @@ static DWORD CALLBACK chuni_pre_startup(void)
amex_hook_init(&chuni_hook_cfg.amex, chunithm_jvs_init);
slider_hook_init(&chuni_hook_cfg.slider);
sg_reader_hook_init(&chuni_hook_cfg.aime, 12);
/* Initialize debug helpers */

View File

@ -9,6 +9,7 @@ shared_library(
capnhook.get_variable('hooklib_dep'),
],
link_with : [
aimeio_dll,
amex_lib,
board_lib,
chuniio_dll,