diff options
Diffstat (limited to 'src/devices/bus/c64/geocable.cpp')
-rw-r--r-- | src/devices/bus/c64/geocable.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/bus/c64/geocable.cpp b/src/devices/bus/c64/geocable.cpp index e07734f987f..e740ec0da69 100644 --- a/src/devices/bus/c64/geocable.cpp +++ b/src/devices/bus/c64/geocable.cpp @@ -30,11 +30,10 @@ DEFINE_DEVICE_TYPE(C64_GEOCABLE, c64_geocable_device, "c64_geocable", "C64 geoCa // device_add_mconfig - add device configuration //------------------------------------------------- -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)); -} +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 |