mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2024-12-01 01:27:18 +01:00
feat(iidx 14-24): Wire up coin mech to IO emulation
This commit is contained in:
parent
94c562f17b
commit
22978afc9b
@ -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) |
|
msg_resp.inverted_pad = ((iidx_io_ep2_get_keys() & 0x3FFF) << 16) |
|
||||||
(iidx_io_ep2_get_panel() & 0x0F) |
|
(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);
|
(((iidx_io_ep2_get_sys() >> 2) & 0x01) << 30);
|
||||||
|
|
||||||
msg_resp.inverted_pad = ~msg_resp.inverted_pad;
|
msg_resp.inverted_pad = ~msg_resp.inverted_pad;
|
||||||
|
Loading…
Reference in New Issue
Block a user