diff options
Diffstat (limited to 'src/mame/drivers/deco_ld.cpp')
-rw-r--r-- | src/mame/drivers/deco_ld.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/deco_ld.cpp b/src/mame/drivers/deco_ld.cpp index 553b43ece79..f8adb56d08d 100644 --- a/src/mame/drivers/deco_ld.cpp +++ b/src/mame/drivers/deco_ld.cpp @@ -140,7 +140,7 @@ public: void rblaster(machine_config &config); - DECLARE_CUSTOM_INPUT_MEMBER(begas_vblank_r); + DECLARE_READ_LINE_MEMBER(begas_vblank_r); DECLARE_INPUT_CHANGED_MEMBER(coin_inserted); private: @@ -318,7 +318,7 @@ void deco_ld_state::rblaster_sound_map(address_map &map) map(0xe000, 0xffff).rom(); } -CUSTOM_INPUT_MEMBER( deco_ld_state::begas_vblank_r ) +READ_LINE_MEMBER( deco_ld_state::begas_vblank_r ) { return m_screen->vpos() >= 240*2; } @@ -361,7 +361,7 @@ static INPUT_PORTS_START( begas ) PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) PORT_DIPSETTING( 0x00, DEF_STR( On ) ) - PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_CUSTOM_MEMBER(DEVICE_SELF,deco_ld_state,begas_vblank_r, nullptr) // TODO: IPT_VBLANK doesn't seem to work fine? + PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_MEMBER(deco_ld_state, begas_vblank_r) // TODO: IPT_VBLANK doesn't seem to work fine? PORT_START("DSW1") PORT_DIPNAME( 0x01, 0x01, "DSWA" ) |