summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/r9751.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/r9751.cpp')
-rw-r--r--src/mame/drivers/r9751.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/r9751.cpp b/src/mame/drivers/r9751.cpp
index 0aef19dadc9..eca4d9004ac 100644
--- a/src/mame/drivers/r9751.cpp
+++ b/src/mame/drivers/r9751.cpp
@@ -963,9 +963,9 @@ MACHINE_CONFIG_START(r9751_state::r9751)
MCFG_QUANTUM_TIME(attotime::from_hz(1000))
/* i/o hardware */
- MCFG_DEVICE_ADD("smioc", SMIOC, 0)
- MCFG_SMIOC_R_CB(READ8(*this, r9751_state, smioc_dma_r))
- MCFG_SMIOC_W_CB(WRITE8(*this, r9751_state, smioc_dma_w))
+ SMIOC(config, m_smioc, 0);
+ m_smioc->m68k_r_callback().set(FUNC(r9751_state::smioc_dma_r));
+ m_smioc->m68k_w_callback().set(FUNC(r9751_state::smioc_dma_w));
/* disk hardware */
PDC(config, m_pdc, 0);