forked from TeamTofuShop/segatools
Load and bind idzio at runtime
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
#include "hooklib/spike.h"
|
||||
|
||||
#include "idzhook/config.h"
|
||||
#include "idzhook/idz-dll.h"
|
||||
#include "idzhook/jvs.h"
|
||||
#include "idzhook/zinput.h"
|
||||
|
||||
@ -51,6 +52,12 @@ static DWORD CALLBACK idz_pre_startup(void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hr = idz_dll_init(&idz_hook_cfg.dll, idz_hook_mod);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hr = amex_hook_init(&idz_hook_cfg.amex, idz_jvs_init);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
|
Reference in New Issue
Block a user