summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/cuda.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/cuda.cpp')
-rw-r--r--src/mame/machine/cuda.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/machine/cuda.cpp b/src/mame/machine/cuda.cpp
index 4ee92a6a68c..cd7de260827 100644
--- a/src/mame/machine/cuda.cpp
+++ b/src/mame/machine/cuda.cpp
@@ -85,10 +85,11 @@ void cuda_device::cuda_map(address_map &map)
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(cuda_device::device_add_mconfig)
- MCFG_DEVICE_ADD(CUDA_CPU_TAG, M68HC05EG, XTAL(32'768)*192) // 32.768 kHz input clock, can be PLL'ed to x128 = 4.1 MHz under s/w control
- MCFG_DEVICE_PROGRAM_MAP(cuda_map)
-MACHINE_CONFIG_END
+void cuda_device::device_add_mconfig(machine_config &config)
+{
+ M68HC05EG(config, m_maincpu, XTAL(32'768)*192); // 32.768 kHz input clock, can be PLL'ed to x128 = 4.1 MHz under s/w control
+ m_maincpu->set_addrmap(AS_PROGRAM, &cuda_device::cuda_map);
+}
const tiny_rom_entry *cuda_device::device_rom_region() const
{