Refactor: remove slot from InitializeIO() calls for card objects

This commit is contained in:
tomcw
2021-11-01 20:39:26 +00:00
parent ff7c9dc185
commit 67b3c28833
17 changed files with 52 additions and 54 deletions
+2 -2
View File
@@ -87,9 +87,9 @@ BYTE __stdcall SAMCard::IOWrite(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG n
return res;
}
void SAMCard::InitializeIO(LPBYTE pCxRomPeripheral, UINT slot)
void SAMCard::InitializeIO(LPBYTE pCxRomPeripheral)
{
RegisterIoHandler(slot, IO_Null, IOWrite, IO_Null, IO_Null, NULL, NULL);
RegisterIoHandler(m_slot, IO_Null, IOWrite, IO_Null, IO_Null, NULL, NULL);
}
//===========================================================================