summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/smc777.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/smc777.cpp')
-rw-r--r--src/mame/drivers/smc777.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/smc777.cpp b/src/mame/drivers/smc777.cpp
index 991dc91b4dd..6bc76fd9cd8 100644
--- a/src/mame/drivers/smc777.cpp
+++ b/src/mame/drivers/smc777.cpp
@@ -1050,9 +1050,9 @@ MACHINE_CONFIG_START(smc777_state::smc777)
MCFG_MC6845_CHAR_WIDTH(8)
// floppy controller
- MCFG_DEVICE_ADD("fdc", MB8876, 1_MHz_XTAL)
- MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(*this, smc777_state, fdc_intrq_w))
- MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(*this, smc777_state, fdc_drq_w))
+ MB8876(config, m_fdc, 1_MHz_XTAL);
+ m_fdc->intrq_wr_callback().set(FUNC(smc777_state::fdc_intrq_w));
+ m_fdc->drq_wr_callback().set(FUNC(smc777_state::fdc_drq_w));
// does it really support 16 of them?
MCFG_FLOPPY_DRIVE_ADD("fdc:0", smc777_floppies, "ssdd", floppy_image_device::default_floppy_formats)