summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/policetr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/policetr.cpp')
-rw-r--r--src/mame/drivers/policetr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/policetr.cpp b/src/mame/drivers/policetr.cpp
index b10b9bd9310..7265232dd67 100644
--- a/src/mame/drivers/policetr.cpp
+++ b/src/mame/drivers/policetr.cpp
@@ -188,7 +188,7 @@ WRITE32_MEMBER(policetr_state::bsmt2000_data_w)
}
-CUSTOM_INPUT_MEMBER(policetr_state::bsmt_status_r)
+READ_LINE_MEMBER(policetr_state::bsmt_status_r)
{
return m_bsmt->read_status();
}
@@ -323,7 +323,7 @@ static INPUT_PORTS_START( policetr )
PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /TILT (note 1) */
PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_SERVICE1 )
PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_UNUSED ) /* /SERVICE (note 1) */
- PORT_BIT( 0x00800000, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, policetr_state, bsmt_status_r, nullptr)
+ PORT_BIT( 0x00800000, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_MEMBER(policetr_state, bsmt_status_r)
PORT_BIT( 0x01000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
PORT_BIT( 0x02000000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* /XSW2 (note 2) */
PORT_BIT( 0x04000000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)