1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-27 22:40:48 +01:00

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

This commit is contained in:
Matt Bilker 2020-05-18 23:01:29 +00:00
parent 776cf50bd0
commit e5b0603722
No known key found for this signature in database
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: