summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/phoenix/naughtyb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/phoenix/naughtyb.cpp')
-rw-r--r--src/mame/phoenix/naughtyb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/phoenix/naughtyb.cpp b/src/mame/phoenix/naughtyb.cpp
index 7f7299cd531..a5eb3a1d910 100644
--- a/src/mame/phoenix/naughtyb.cpp
+++ b/src/mame/phoenix/naughtyb.cpp
@@ -334,9 +334,9 @@ static INPUT_PORTS_START( naughtyb )
PORT_DIPSETTING( 0x80, DEF_STR( Cocktail ) )
PORT_START( "FAKE" )
- PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, naughtyb_state,coin_inserted, 0)
+ PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(naughtyb_state::coin_inserted), 0)
// when reading DSW0, bit 7 doesn't read cabinet, but vblank
- PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
+ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("screen", FUNC(screen_device::vblank))
INPUT_PORTS_END
static INPUT_PORTS_START( trvmstr )
@@ -382,9 +382,9 @@ static INPUT_PORTS_START( trvmstr )
PORT_DIPSETTING( 0x80, DEF_STR( Cocktail ) )
PORT_START( "FAKE" )
- PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, naughtyb_state,coin_inserted, 0)
+ PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(naughtyb_state::coin_inserted), 0)
// when reading DSW0, bit 7 doesn't read cabinet, but vblank
- PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
+ PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("screen", FUNC(screen_device::vblank))
INPUT_PORTS_END