mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2024-11-28 00:10:51 +01:00
Update BIO2 IIDX emulation to support watchdog poll
This commit is contained in:
parent
5c08e966d9
commit
2920e2b2cf
@ -11,6 +11,7 @@ enum bio2_bi2a_cmd {
|
|||||||
BIO2_BI2A_CMD_INIT = 0x0100,
|
BIO2_BI2A_CMD_INIT = 0x0100,
|
||||||
BIO2_BI2A_CMD_WATCHDOG = 0x0120,
|
BIO2_BI2A_CMD_WATCHDOG = 0x0120,
|
||||||
BIO2_BI2A_CMD_POLL = 0x0152, // For IIDX
|
BIO2_BI2A_CMD_POLL = 0x0152, // For IIDX
|
||||||
|
BIO2_BI2A_CMD_POLL_WD = 0x0153, // For IIDX
|
||||||
// For games using libacio for BIO2 communication
|
// For games using libacio for BIO2 communication
|
||||||
BIO2_BI2A_CMD_ACIO_POLL_NOWD = 0x0112,
|
BIO2_BI2A_CMD_ACIO_POLL_NOWD = 0x0112,
|
||||||
BIO2_BI2A_CMD_ACIO_POLL_WD = 0x0113,
|
BIO2_BI2A_CMD_ACIO_POLL_WD = 0x0113,
|
||||||
@ -18,4 +19,4 @@ enum bio2_bi2a_cmd {
|
|||||||
BIO2_BI2A_CMD_TAPELED_SEND = 0x0141,
|
BIO2_BI2A_CMD_TAPELED_SEND = 0x0141,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -91,11 +91,12 @@ void bio2_emu_bi2a_dispatch_request(
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case BIO2_BI2A_CMD_WATCHDOG:
|
case BIO2_BI2A_CMD_WATCHDOG:
|
||||||
log_misc("BIO2_BI2A_CMD_WATCHDOGX(%d)", req->addr);
|
log_misc("BIO2_BI2A_CMD_WATCHDOG(%d)", req->addr);
|
||||||
bio2_emu_bi2a_send_status(&bio2port->acio, req, 0x00);
|
bio2_emu_bi2a_send_status(&bio2port->acio, req, 0x00);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BIO2_BI2A_CMD_POLL:
|
case BIO2_BI2A_CMD_POLL:
|
||||||
|
case BIO2_BI2A_CMD_POLL_WD:
|
||||||
// log_misc("BIO2_BI2A_CMD_POLL");
|
// log_misc("BIO2_BI2A_CMD_POLL");
|
||||||
bio2_emu_bi2a_send_state(&bio2port->acio, req);
|
bio2_emu_bi2a_send_state(&bio2port->acio, req);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user