forked from TeamTofuShop/segatools
Load and bind divaio at runtime
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "divahook/config.h"
|
||||
#include "divahook/diva-dll.h"
|
||||
#include "divahook/jvs.h"
|
||||
#include "divahook/slider.h"
|
||||
|
||||
@ -50,6 +51,12 @@ static DWORD CALLBACK diva_pre_startup(void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hr = diva_dll_init(&diva_hook_cfg.dll, diva_hook_mod);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hr = amex_hook_init(&diva_hook_cfg.amex, diva_jvs_init);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
|
Reference in New Issue
Block a user