1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-28 11:00:49 +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 c7a4c66419
commit ce46262c00

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: