diff options
Diffstat (limited to 'src/mame/drivers/dmv.cpp')
-rw-r--r-- | src/mame/drivers/dmv.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/dmv.cpp b/src/mame/drivers/dmv.cpp index 23a5c3ead87..0fd7dc22a84 100644 --- a/src/mame/drivers/dmv.cpp +++ b/src/mame/drivers/dmv.cpp @@ -827,11 +827,11 @@ MACHINE_CONFIG_START(dmv_state::dmv) MCFG_FLOPPY_DRIVE_ADD("i8272:0", dmv_floppies, "525dd", dmv_state::floppy_formats) MCFG_FLOPPY_DRIVE_ADD("i8272:1", dmv_floppies, "525dd", dmv_state::floppy_formats) - MCFG_DEVICE_ADD("pit8253", PIT8253, 0) - MCFG_PIT8253_CLK0(50) - MCFG_PIT8253_OUT0_HANDLER(WRITELINE(*this, dmv_state, pit_out0)) - MCFG_PIT8253_CLK2(XTAL(24'000'000) / 3 / 16) - MCFG_PIT8253_OUT2_HANDLER(WRITELINE(*this, dmv_state, timint_w)) + PIT8253(config, m_pit, 0); + m_pit->set_clk<0>(50); + m_pit->out_handler<0>().set(FUNC(dmv_state::pit_out0)); + m_pit->set_clk<2>(XTAL(24'000'000) / 3 / 16); + m_pit->out_handler<2>().set(FUNC(dmv_state::timint_w)); /* sound hardware */ SPEAKER(config, "mono").front_center(); |