summaryrefslogtreecommitdiffstats
path: root/src/devices/machine/ldv1000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ldv1000.cpp')
-rw-r--r--src/devices/machine/ldv1000.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/ldv1000.cpp b/src/devices/machine/ldv1000.cpp
index 4a9b1295b75..4f7a0196e40 100644
--- a/src/devices/machine/ldv1000.cpp
+++ b/src/devices/machine/ldv1000.cpp
@@ -272,7 +272,8 @@ const tiny_rom_entry *pioneer_ldv1000_device::device_rom_region() const
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(pioneer_ldv1000_device::device_add_mconfig)
+void pioneer_ldv1000_device::device_add_mconfig(machine_config &config)
+{
Z80(config, m_z80_cpu, XTAL(5'000'000)/2);
m_z80_cpu->set_daisy_config(daisy_chain);
m_z80_cpu->set_addrmap(AS_PROGRAM, &pioneer_ldv1000_device::ldv1000_map);
@@ -291,7 +292,7 @@ MACHINE_CONFIG_START(pioneer_ldv1000_device::device_add_mconfig)
ldvppi1.in_pa_callback().set(FUNC(pioneer_ldv1000_device::ppi1_porta_r));
ldvppi1.out_pb_callback().set(FUNC(pioneer_ldv1000_device::ppi1_portb_w));
ldvppi1.out_pc_callback().set(FUNC(pioneer_ldv1000_device::ppi1_portc_w));
-MACHINE_CONFIG_END
+}
//-------------------------------------------------