Load and bind chuniio at runtime

This commit is contained in:
Tau
2021-05-31 12:58:22 -04:00
parent 01eda0fbd5
commit 94e9edb5a0
9 changed files with 207 additions and 13 deletions

View File

@ -75,6 +75,12 @@ static DWORD CALLBACK chuni_pre_startup(void)
goto fail;
}
hr = chuni_dll_init(&chuni_hook_cfg.dll, chuni_hook_mod);
if (FAILED(hr)) {
goto fail;
}
hr = amex_hook_init(&chuni_hook_cfg.amex, chunithm_jvs_init);
if (FAILED(hr)) {