diff options
Diffstat (limited to 'src/mame/drivers/testpat.cpp')
-rw-r--r-- | src/mame/drivers/testpat.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/testpat.cpp b/src/mame/drivers/testpat.cpp index c11421ab3be..83c1d82c66f 100644 --- a/src/mame/drivers/testpat.cpp +++ b/src/mame/drivers/testpat.cpp @@ -103,8 +103,8 @@ INPUT_PORTS_END MACHINE_CONFIG_START(tp1983_state::tp1983) - MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK) - MCFG_NETLIST_SETUP(tp1983) + NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK); + m_maincpu->set_constructor(netlist_tp1983); MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "vid0", "videomix", fixedfreq_device, update_composite_monochrome, "fixfreq") @@ -116,11 +116,11 @@ MACHINE_CONFIG_START(tp1983_state::tp1983) m_video->set_fieldcount(1); m_video->set_threshold(1); m_video->set_gain(0.36); -MACHINE_CONFIG_END +} MACHINE_CONFIG_START(tp1985_state::tp1985) - MCFG_DEVICE_ADD("maincpu", NETLIST_CPU, NETLIST_CLOCK) - MCFG_NETLIST_SETUP(tp1985) + NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK); + m_maincpu->set_constructor(netlist_tp1985); MCFG_NETLIST_ANALOG_OUTPUT("maincpu", "vid0", "videomix", tp1985_state, video_out_cb, "") |