Improve JVS bus life cycle handling

This commit is contained in:
Tau
2019-11-03 13:01:03 -05:00
parent 93fcdf8f6d
commit 0e1cfb66db
24 changed files with 164 additions and 65 deletions

View File

@ -45,12 +45,7 @@ static DWORD CALLBACK diva_pre_startup(void)
"AAV0",
diva_hook_mod);
amex_hook_init(&diva_hook_cfg.amex);
if (diva_hook_cfg.amex.jvs.enable) {
diva_jvs_init();
}
amex_hook_init(&diva_hook_cfg.amex, diva_jvs_init);
sg_reader_hook_init(&diva_hook_cfg.aime, 10);
slider_hook_init();