mirror of
https://gitea.tendokyu.moe/TeamTofuShop/taitools.git
synced 2026-09-22 22:28:06 +03:00
add missing gc registers
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user