forked from TeamTofuShop/segatools
idz: add ffb and led emulation
This commit is contained in:
@ -133,6 +133,8 @@ static HRESULT idac_io4_poll(void *ctx, struct io4_state *state)
|
||||
|
||||
static HRESULT idac_io4_write_gpio(uint8_t* payload, size_t len)
|
||||
{
|
||||
assert(idac_dll.led_set_leds != NULL);
|
||||
|
||||
// Just fast fail if there aren't enough bytes in the payload
|
||||
if (len < 3)
|
||||
return S_OK;
|
||||
|
Reference in New Issue
Block a user