chunihook: Subsume cardhook

One less DLL floating around.
This commit is contained in:
Tau 2019-06-09 15:42:20 -04:00
parent 6d06429217
commit b44b62fc72
4 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,8 @@
#include "amex/config.h" #include "amex/config.h"
#include "board/config.h"
#include "chunihook/config.h" #include "chunihook/config.h"
#include "platform/config.h" #include "platform/config.h"
@ -20,4 +22,5 @@ void chuni_hook_config_load(
nu_config_load(&cfg->nu, filename); nu_config_load(&cfg->nu, filename);
amex_config_load(&cfg->amex, filename); amex_config_load(&cfg->amex, filename);
aime_config_load(&cfg->aime, filename);
} }

View File

@ -9,6 +9,7 @@
struct chuni_hook_config { struct chuni_hook_config {
struct nu_config nu; struct nu_config nu;
struct amex_config amex; struct amex_config amex;
struct aime_config aime;
}; };
void chuni_hook_config_load( void chuni_hook_config_load(

View File

@ -5,6 +5,9 @@
#include "amex/amex.h" #include "amex/amex.h"
#include "board/config.h"
#include "board/sg-reader.h"
#include "chunihook/config.h" #include "chunihook/config.h"
#include "chunihook/jvs.h" #include "chunihook/jvs.h"
#include "chunihook/slider.h" #include "chunihook/slider.h"
@ -56,6 +59,7 @@ static DWORD CALLBACK chuni_pre_startup(void)
platform_hook_init_nu(&chuni_hook_cfg.nu, "SDBT", "AAV1", chuni_hook_mod); platform_hook_init_nu(&chuni_hook_cfg.nu, "SDBT", "AAV1", chuni_hook_mod);
amex_hook_init(&chuni_hook_cfg.amex); amex_hook_init(&chuni_hook_cfg.amex);
sg_reader_hook_init(&chuni_hook_cfg.aime, 12);
if (chuni_hook_cfg.amex.jvs.enable) { if (chuni_hook_cfg.amex.jvs.enable) {
chunithm_jvs_init(); chunithm_jvs_init();

View File

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