diff --git a/src/main/bio2/bio2.h b/src/main/bio2/bio2.h index 5a95f7a..370bc30 100644 --- a/src/main/bio2/bio2.h +++ b/src/main/bio2/bio2.h @@ -11,6 +11,7 @@ enum bio2_bi2a_cmd { BIO2_BI2A_CMD_INIT = 0x0100, BIO2_BI2A_CMD_WATCHDOG = 0x0120, BIO2_BI2A_CMD_POLL = 0x0152, // For IIDX + BIO2_BI2A_CMD_POLL_WD = 0x0153, // For IIDX // For games using libacio for BIO2 communication BIO2_BI2A_CMD_ACIO_POLL_NOWD = 0x0112, BIO2_BI2A_CMD_ACIO_POLL_WD = 0x0113, @@ -18,4 +19,4 @@ enum bio2_bi2a_cmd { BIO2_BI2A_CMD_TAPELED_SEND = 0x0141, }; -#endif \ No newline at end of file +#endif diff --git a/src/main/bio2emu-iidx/bi2a.c b/src/main/bio2emu-iidx/bi2a.c index 3c90d24..cd2b56a 100644 --- a/src/main/bio2emu-iidx/bi2a.c +++ b/src/main/bio2emu-iidx/bi2a.c @@ -91,11 +91,12 @@ void bio2_emu_bi2a_dispatch_request( break; 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); break; case BIO2_BI2A_CMD_POLL: + case BIO2_BI2A_CMD_POLL_WD: // log_misc("BIO2_BI2A_CMD_POLL"); bio2_emu_bi2a_send_state(&bio2port->acio, req); break;