board/io4.c: add system status fix for Ongeki

This commit is contained in:
Felix Anderson 2020-05-18 23:01:29 +00:00
parent 776cf50bd0
commit e5b0603722
Signed by untrusted user: felix
GPG Key ID: 69ADF8AEB6C8B5D1

View File

@ -193,11 +193,17 @@ static HRESULT io4_handle_write(struct irp *irp)
case IO4_CMD_SET_COMM_TIMEOUT: case IO4_CMD_SET_COMM_TIMEOUT:
dprintf("USB I/O: Set comm timeout\n"); dprintf("USB I/O: Set comm timeout\n");
// Ongeki Summer expects the system status to be 0x30 at this point
io4_system_status = 0x30;
return S_OK; return S_OK;
case IO4_CMD_SET_SAMPLING_COUNT: case IO4_CMD_SET_SAMPLING_COUNT:
dprintf("USB I/O: Set sampling count\n"); dprintf("USB I/O: Set sampling count\n");
// Ongeki Summer expects the system status to be 0x30 at this point
io4_system_status = 0x30;
return S_OK; return S_OK;
case IO4_CMD_CLEAR_BOARD_STATUS: case IO4_CMD_CLEAR_BOARD_STATUS: