summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti8x/graphlinkhle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti8x/graphlinkhle.cpp')
-rw-r--r--src/devices/bus/ti8x/graphlinkhle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/ti8x/graphlinkhle.cpp b/src/devices/bus/ti8x/graphlinkhle.cpp
index 675fa9b87ed..4e364f644ed 100644
--- a/src/devices/bus/ti8x/graphlinkhle.cpp
+++ b/src/devices/bus/ti8x/graphlinkhle.cpp
@@ -50,8 +50,8 @@ void graph_link_hle_device::device_reset()
MACHINE_CONFIG_START(graph_link_hle_device::device_add_mconfig)
- MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, nullptr)
- MCFG_RS232_RXD_HANDLER(WRITELINE(graph_link_hle_device, rx_w))
+ MCFG_DEVICE_ADD("rs232", RS232_PORT, default_rs232_devices, nullptr)
+ MCFG_RS232_RXD_HANDLER(WRITELINE(*this, graph_link_hle_device, rx_w))
MACHINE_CONFIG_END