feat(iidx 14-24): Wire up coin mech to IO emulation

This commit is contained in:
icex2
2023-04-03 17:54:53 +02:00
parent 12594289c8
commit 72e8a593f1
+1 -1
View File
@@ -85,7 +85,7 @@ static HRESULT ezusb2_iidx_emu_msg_interrupt_read(struct iobuf *read)
msg_resp.inverted_pad = ((iidx_io_ep2_get_keys() & 0x3FFF) << 16) |
(iidx_io_ep2_get_panel() & 0x0F) |
((iidx_io_ep2_get_sys() & 0x03) << 4) |
((iidx_io_ep2_get_sys() & 0x07) << 4) |
(((iidx_io_ep2_get_sys() >> 2) & 0x01) << 30);
msg_resp.inverted_pad = ~msg_resp.inverted_pad;