summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/hp9845_printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/hp9845_printer.cpp')
-rw-r--r--src/mame/machine/hp9845_printer.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/machine/hp9845_printer.cpp b/src/mame/machine/hp9845_printer.cpp
index 0342f39e5dd..3c053cdb07b 100644
--- a/src/mame/machine/hp9845_printer.cpp
+++ b/src/mame/machine/hp9845_printer.cpp
@@ -137,10 +137,11 @@ const tiny_rom_entry *hp9845_printer_device::device_rom_region() const
return ROM_NAME(hp9845_printer);
}
-MACHINE_CONFIG_START(hp9845_printer_device::device_add_mconfig)
- MCFG_DEVICE_ADD("prt_alpha", BITBANGER, 0)
- MCFG_DEVICE_ADD("prt_graphic", BITBANGER, 0)
-MACHINE_CONFIG_END
+void hp9845_printer_device::device_add_mconfig(machine_config &config)
+{
+ BITBANGER(config, m_prt_alpha_out, 0);
+ BITBANGER(config, m_prt_graph_out, 0);
+}
void hp9845_printer_device::device_start()
{