diff options
Diffstat (limited to 'src/mame/drivers/splash.cpp')
-rw-r--r-- | src/mame/drivers/splash.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/splash.cpp b/src/mame/drivers/splash.cpp index f4af04c878e..874ac35b008 100644 --- a/src/mame/drivers/splash.cpp +++ b/src/mame/drivers/splash.cpp @@ -559,11 +559,11 @@ MACHINE_CONFIG_START(splash_state::roldfrog) MCFG_DEVICE_IO_MAP(roldfrog_sound_io_map) MCFG_DEVICE_VBLANK_INT_DRIVER("screen", splash_state, roldfrog_interrupt) - MCFG_DEVICE_ADD("outlatch", LS259, 0) - MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(*this, splash_state, coin1_lockout_w)) - MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(*this, splash_state, coin2_lockout_w)) - MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(*this, splash_state, coin1_counter_w)) - MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, splash_state, coin2_counter_w)) + LS259(config, m_outlatch); + m_outlatch->q_out_cb<1>().set(FUNC(splash_state::coin1_lockout_w)); + m_outlatch->q_out_cb<1>().append(FUNC(splash_state::coin2_lockout_w)); + m_outlatch->q_out_cb<2>().set(FUNC(splash_state::coin1_counter_w)); + m_outlatch->q_out_cb<3>().set(FUNC(splash_state::coin2_counter_w)); /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) |