mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2024-11-28 00:10:51 +01:00
bio2/iidx: Deduplicate node command, use common acio base command
This commit is contained in:
parent
f0bc87f1d6
commit
b3a89012ca
@ -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
|
||||
};
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user