diff options
Diffstat (limited to 'src/mame/drivers/testpat.cpp')
-rw-r--r-- | src/mame/drivers/testpat.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/testpat.cpp b/src/mame/drivers/testpat.cpp index 6bf0e01a184..555dca9d143 100644 --- a/src/mame/drivers/testpat.cpp +++ b/src/mame/drivers/testpat.cpp @@ -103,8 +103,7 @@ INPUT_PORTS_END MACHINE_CONFIG_START(tp1983_state::tp1983) - NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK); - m_maincpu->set_constructor(netlist_tp1983); + NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK).set_source(netlist_tp1983); NETLIST_ANALOG_OUTPUT(config, "maincpu:vid0").set_params("videomix", FUNC(fixedfreq_device::update_composite_monochrome), "fixfreq"); @@ -119,8 +118,7 @@ MACHINE_CONFIG_START(tp1983_state::tp1983) MACHINE_CONFIG_END MACHINE_CONFIG_START(tp1985_state::tp1985) - NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK); - m_maincpu->set_constructor(netlist_tp1985); + NETLIST_CPU(config, m_maincpu, NETLIST_CLOCK).set_source(netlist_tp1985); NETLIST_ANALOG_OUTPUT(config, "maincpu:vid0").set_params("videomix", FUNC(tp1985_state::video_out_cb), ""); |