forked from TeamTofuShop/segatools
board/sg-reader.c: Configurate sg_reader
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
|
||||
#include "amex/config.h"
|
||||
|
||||
#include "board/config.h"
|
||||
|
||||
#include "idzhook/config.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
@ -15,4 +17,5 @@ void idz_hook_config_load(
|
||||
|
||||
nu_config_load(&cfg->nu, filename);
|
||||
amex_config_load(&cfg->amex, filename);
|
||||
aime_config_load(&cfg->aime, filename);
|
||||
}
|
||||
|
@ -4,11 +4,14 @@
|
||||
|
||||
#include "amex/config.h"
|
||||
|
||||
#include "board/config.h"
|
||||
|
||||
#include "platform/config.h"
|
||||
|
||||
struct idz_hook_config {
|
||||
struct nu_config nu;
|
||||
struct amex_config amex;
|
||||
struct aime_config aime;
|
||||
};
|
||||
|
||||
void idz_hook_config_load(
|
||||
|
@ -43,12 +43,12 @@ static DWORD CALLBACK idz_pre_startup(void)
|
||||
platform_hook_init_nu(&idz_hook_cfg.nu, "SDDF", "AAV2", idz_hook_mod);
|
||||
amex_hook_init(&idz_hook_cfg.amex);
|
||||
|
||||
sg_reader_hook_init(10);
|
||||
|
||||
if (idz_hook_cfg.amex.jvs.enable) {
|
||||
idz_jvs_init();
|
||||
}
|
||||
|
||||
sg_reader_hook_init(&idz_hook_cfg.aime, 10);
|
||||
|
||||
/* Initialize debug helpers */
|
||||
|
||||
spike_hook_init("idzspike.txt");
|
||||
|
Reference in New Issue
Block a user