board/sg-reader.c: Configurate sg_reader

This commit is contained in:
Tau
2019-06-03 22:28:44 -04:00
parent 924c1d8fdb
commit e06be9fc7b
9 changed files with 34 additions and 6 deletions

View File

@ -3,6 +3,8 @@
#include "amex/config.h"
#include "board/config.h"
#include "divahook/config.h"
#include "platform/config.h"
@ -16,4 +18,5 @@ void diva_hook_config_load(
nu_config_load(&cfg->nu, filename);
amex_config_load(&cfg->amex, filename);
aime_config_load(&cfg->aime, filename);
}

View File

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

View File

@ -48,7 +48,7 @@ static DWORD CALLBACK diva_pre_startup(void)
diva_jvs_init();
}
sg_reader_hook_init(10);
sg_reader_hook_init(&diva_hook_cfg.aime, 10);
slider_hook_init();
/* Initialize debug helpers */