add missing gc registers

This commit is contained in:
Hay1tsme
2026-03-12 14:04:05 -04:00
parent 6b3a3f92cb
commit 2c6f70edc7
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -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;
}
}
+12
View File
@@ -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);