summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232/printer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/rs232/printer.cpp')
-rw-r--r--src/devices/bus/rs232/printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/rs232/printer.cpp b/src/devices/bus/rs232/printer.cpp
index 67974677054..b8b1ec87d34 100644
--- a/src/devices/bus/rs232/printer.cpp
+++ b/src/devices/bus/rs232/printer.cpp
@@ -18,7 +18,7 @@ serial_printer_device::serial_printer_device(const machine_config &mconfig, cons
MACHINE_CONFIG_START(serial_printer_device::device_add_mconfig)
MCFG_DEVICE_ADD("printer", PRINTER, 0)
- MCFG_PRINTER_ONLINE_CB(WRITELINE(serial_printer_device, printer_online))
+ MCFG_PRINTER_ONLINE_CB(WRITELINE(*this, serial_printer_device, printer_online))
MACHINE_CONFIG_END
static INPUT_PORTS_START(serial_printer)