1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-28 08:20:51 +01:00

bio2/iidx: Deduplicate node command, use common acio base command

This commit is contained in:
icex2 2020-12-16 22:45:52 +01:00
parent f0bc87f1d6
commit b3a89012ca
2 changed files with 2 additions and 4 deletions

View File

@ -6,8 +6,6 @@
#include <stdint.h>
enum bio2_bi2a_cmd {
// Custom Stuff
BIO2_BI2A_CMD_CLEAR = 0x0100,
BIO2_BI2A_CMD_WATCHDOG = 0x0120,
BIO2_BI2A_CMD_POLL = 0x0152, // For IIDX
};

View File

@ -85,8 +85,8 @@ void bio2_emu_bi2a_dispatch_request(
cmd_code = ac_io_u16(req->cmd.code);
switch (cmd_code) {
case BIO2_BI2A_CMD_CLEAR:
log_misc("BIO2_BI2A_CMD_CLEAR(%d)", req->addr);
case AC_IO_CMD_CLEAR:
log_misc("AC_IO_CMD_CLEAR(%d)", req->addr);
bio2_emu_bi2a_send_status(&bio2port->acio, req, 0x00);
break;