forked from TeamTofuShop/segatools
idac: add ffb emulation
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
#include "idachook/config.h"
|
||||
#include "idachook/idac-dll.h"
|
||||
#include "idachook/io4.h"
|
||||
#include "idachook/ffb.h"
|
||||
#include "idachook/zinput.h"
|
||||
|
||||
#include "platform/platform.h"
|
||||
@ -84,6 +85,12 @@ static DWORD CALLBACK idac_pre_startup(void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hr = idac_ffb_hook_init(&idac_hook_cfg.ffb, 1);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hr = led15070_hook_init(&idac_hook_cfg.led15070, idac_dll.led_init,
|
||||
idac_dll.led_set_fet_output, NULL, idac_dll.led_gs_update, 2, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user