diff options
Diffstat (limited to 'src/mame/drivers/pirates.cpp')
-rw-r--r-- | src/mame/drivers/pirates.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pirates.cpp b/src/mame/drivers/pirates.cpp index aa543f63141..66e86bab16f 100644 --- a/src/mame/drivers/pirates.cpp +++ b/src/mame/drivers/pirates.cpp @@ -117,7 +117,7 @@ WRITE16_MEMBER(pirates_state::out_w) // logerror("%06x: out_w %04x\n",m_maincpu->pc(),data); } -CUSTOM_INPUT_MEMBER(pirates_state::prot_r) +READ_LINE_MEMBER(pirates_state::prot_r) { // static int prot = 0xa3; // offs_t pc; @@ -204,7 +204,7 @@ static INPUT_PORTS_START( pirates ) PORT_BIT( 0x0010, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_93cxx_device, do_read) // EEPROM data PORT_BIT( 0x0020, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // seems checked in "test mode" PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_UNKNOWN ) // seems checked in "test mode" - PORT_BIT( 0x0080, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, pirates_state,prot_r, nullptr) // protection + PORT_BIT( 0x0080, IP_ACTIVE_HIGH,IPT_CUSTOM ) PORT_READ_LINE_MEMBER(pirates_state, prot_r) // protection /* What do these bits do ? */ PORT_BIT( 0x0100, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_BIT( 0x0200, IP_ACTIVE_HIGH, IPT_UNKNOWN ) |