summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/c64/geocable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/c64/geocable.cpp')
-rw-r--r--src/devices/bus/c64/geocable.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/c64/geocable.cpp b/src/devices/bus/c64/geocable.cpp
index e740ec0da69..e07734f987f 100644
--- a/src/devices/bus/c64/geocable.cpp
+++ b/src/devices/bus/c64/geocable.cpp
@@ -30,10 +30,11 @@ DEFINE_DEVICE_TYPE(C64_GEOCABLE, c64_geocable_device, "c64_geocable", "C64 geoCa
// device_add_mconfig - add device configuration
//-------------------------------------------------
-MACHINE_CONFIG_START(c64_geocable_device::device_add_mconfig)
- MCFG_DEVICE_ADD(m_centronics, CENTRONICS, centronics_devices, "printer")
- MCFG_CENTRONICS_BUSY_HANDLER(WRITELINE(*this, c64_geocable_device, output_b))
-MACHINE_CONFIG_END
+void c64_geocable_device::device_add_mconfig(machine_config &config)
+{
+ CENTRONICS(config, m_centronics, centronics_devices, "printer");
+ m_centronics->busy_handler().set(FUNC(c64_geocable_device::output_b));
+}