diff options
Diffstat (limited to 'src/mame/drivers/poly88.cpp')
-rw-r--r-- | src/mame/drivers/poly88.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/poly88.cpp b/src/mame/drivers/poly88.cpp index b2736674513..218b727a0e9 100644 --- a/src/mame/drivers/poly88.cpp +++ b/src/mame/drivers/poly88.cpp @@ -227,9 +227,9 @@ MACHINE_CONFIG_START(poly88_state::poly88) MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED) /* uart */ - MCFG_DEVICE_ADD("uart", I8251, XTAL(16'588'800) / 9) - MCFG_I8251_TXD_HANDLER(WRITELINE(*this, poly88_state,write_cas_tx)) - MCFG_I8251_RXRDY_HANDLER(WRITELINE(*this, poly88_state,poly88_usart_rxready)) + I8251(config, m_uart, XTAL(16'588'800) / 9); + m_uart->txd_handler().set(FUNC(poly88_state::write_cas_tx)); + m_uart->rxrdy_handler().set(FUNC(poly88_state::poly88_usart_rxready)); /* snapshot */ MCFG_SNAPSHOT_ADD("snapshot", poly88_state, poly88, "img", 2) |