diff --git a/idmac/fastio.c b/idmac/fastio.c index a28dd35..6b1fb53 100644 --- a/idmac/fastio.c +++ b/idmac/fastio.c @@ -46,7 +46,9 @@ void fastio_match_board_number(uint8_t board_no, struct fastio_node root, struct if (board->board_no != board_no) { // We've exhausted our boards, give a warning and set boards to NULL +#if 0 dprintf("FastIO: Could not find board number %d\n", board_no); +#endif board = NULL; } } diff --git a/idmac/idmac.c b/idmac/idmac.c index bb5b564..b50bee9 100644 --- a/idmac/idmac.c +++ b/idmac/idmac.c @@ -337,6 +337,9 @@ static int hook_iDmacDrvRegisterRead(HANDLE a1, DWORD register_id, DWORD* regist case 0x4144: fastio_coins_in(NULL, 0, 2, (uint32_t *)register_val); break; // Coin slot 2 + case 0x4148: + case 0x414C: + break; // TODO: Let games specify hub connection case 0x4150: *register_val = 0x0001823C; break; // FastIO hub port1 status? @@ -364,6 +367,15 @@ static int hook_iDmacDrvRegisterRead(HANDLE a1, DWORD register_id, DWORD* regist case 0x41C4: fastio_coins_in(NULL, 1, 2, (uint32_t *)register_val); break; // Sub Coin slot 2 + case 0x41C8: + case 0x41CC: + break; + + case 0x41D0: + case 0x41D4: + case 0x41D8: + case 0x41DC: + break; default: dprintf("iDmac: Requested read register %04lX\n", register_id);