1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2025-01-18 23:14:02 +01:00

feat(iidx 9-13): Wire up coin mech to IO emulation

This commit is contained in:
icex2 2023-04-02 01:39:00 +02:00 committed by icex2
parent 1f95437b17
commit 94c562f17b

View File

@ -126,7 +126,7 @@ static HRESULT ezusb_iidx_emu_msg_interrupt_read(struct iobuf *read)
msg_resp->inverted_pad = ((iidx_io_ep2_get_keys() & 0x3FFF) << 8) |
((iidx_io_ep2_get_panel() & 0x0F) << 24) |
((iidx_io_ep2_get_sys() & 0x03) << 28) |
((iidx_io_ep2_get_sys() & 0x07) << 28) |
(((iidx_io_ep2_get_sys() >> 2) & 0x01) << 22);
/* make sure to update the current coin mode state, otherwise