diff options
Diffstat (limited to 'src/mame/machine/namco62.cpp')
-rw-r--r-- | src/mame/machine/namco62.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mame/machine/namco62.cpp b/src/mame/machine/namco62.cpp index f64e4fedcce..13f3585c259 100644 --- a/src/mame/machine/namco62.cpp +++ b/src/mame/machine/namco62.cpp @@ -57,14 +57,15 @@ void namco_62xx_device::device_start() // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(namco_62xx_device::device_add_mconfig) - MCFG_DEVICE_ADD("mcu", MB8843, DERIVED_CLOCK(1,1)) /* parent clock, internally divided by 6 (TODO: Correct?) */ -// MCFG_MB88XX_READ_K_CB(READ8(*this, namco_62xx_device, namco_62xx_K_r)) -// MCFG_MB88XX_WRITE_O_CB(WRITE8(*this, namco_62xx_device, namco_62xx_O_w)) -// MCFG_MB88XX_READ_R0_CB(READ8(*this, namco_62xx_device, namco_62xx_R0_r)) -// MCFG_MB88XX_READ_R2_CB(READ8(*this, namco_62xx_device, namco_62xx_R2_r)) - MCFG_DEVICE_DISABLE() -MACHINE_CONFIG_END +void namco_62xx_device::device_add_mconfig(machine_config &config) +{ + MB8843(config, m_cpu, DERIVED_CLOCK(1,1)); /* parent clock, internally divided by 6 (TODO: Correct?) */ +// m_cpu->read_k().set(FUNC(namco_62xx_device::namco_62xx_K_r)); +// m_cpu->write_o().set(FUNC(namco_62xx_device::namco_62xx_O_w)); +// m_cpu->read_r<0>().set(FUNC(namco_62xx_device::namco_62xx_R0_r)); +// m_cpu->read_r<2>().set(FUNC(namco_62xx_device::namco_62xx_R2_r)); + m_cpu->set_disable(); +} //------------------------------------------------- // device_rom_region - return a pointer to the |