summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/irem/m14.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/irem/m14.cpp')
-rw-r--r--src/mame/irem/m14.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/irem/m14.cpp b/src/mame/irem/m14.cpp
index 50ea2dce7f1..8309565398f 100644
--- a/src/mame/irem/m14.cpp
+++ b/src/mame/irem/m14.cpp
@@ -349,7 +349,7 @@ static INPUT_PORTS_START( m14 )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START("IN1")
- PORT_BIT( 0x7f, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(m14_state, rng_r)
+ PORT_BIT( 0x7f, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(FUNC(m14_state::rng_r))
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Reach")
PORT_START("DSW") // this whole port is stored at work ram $2112.
@@ -379,8 +379,8 @@ static INPUT_PORTS_START( m14 )
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
PORT_START("FAKE")
- PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, m14_state,left_coin_inserted, 0)
- PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, m14_state,right_coin_inserted, 0)
+ PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(m14_state::left_coin_inserted), 0)
+ PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_COIN2 ) PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(m14_state::right_coin_inserted), 0)
INPUT_PORTS_END
static GFXDECODE_START( gfx_m14 )