summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/galastrm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/galastrm.cpp')
-rw-r--r--src/mame/drivers/galastrm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/galastrm.cpp b/src/mame/drivers/galastrm.cpp
index 1779b9ada61..ac619aee3f3 100644
--- a/src/mame/drivers/galastrm.cpp
+++ b/src/mame/drivers/galastrm.cpp
@@ -70,7 +70,7 @@ void galastrm_state::tc0610_w(offs_t offset, u16 data)
}
-CUSTOM_INPUT_MEMBER(galastrm_state::frame_counter_r)
+READ_LINE_MEMBER(galastrm_state::frame_counter_r)
{
return m_frame_counter;
}
@@ -113,7 +113,7 @@ void galastrm_state::main_map(address_map &map)
static INPUT_PORTS_START( galastrm )
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
- PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF, galastrm_state, frame_counter_r, nullptr)
+ PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_MEMBER(galastrm_state, frame_counter_r)
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )