diff options
Diffstat (limited to 'src/mame/drivers/pc8801.cpp')
-rw-r--r-- | src/mame/drivers/pc8801.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/pc8801.cpp b/src/mame/drivers/pc8801.cpp index 3a6603dacdc..fcd37b3afd9 100644 --- a/src/mame/drivers/pc8801.cpp +++ b/src/mame/drivers/pc8801.cpp @@ -2384,9 +2384,9 @@ MACHINE_CONFIG_START(pc8801_state::pc8801) MCFG_SOFTWARE_LIST_ADD("tape_list","pc8801_cass") - MCFG_DEVICE_ADD(I8251_TAG, I8251, 0) - MCFG_I8251_TXD_HANDLER(WRITELINE(*this, pc8801_state, txdata_callback)) - MCFG_I8251_RTS_HANDLER(WRITELINE(*this, pc8801_state, rxrdy_w)) + i8251_device &i8251(I8251(config, I8251_TAG, 0)); + i8251.txd_handler().set(FUNC(pc8801_state::txdata_callback)); + i8251.rts_handler().set(FUNC(pc8801_state::rxrdy_w)); MCFG_FLOPPY_DRIVE_ADD("upd765:0", pc88_floppies, "525hd", floppy_image_device::default_floppy_formats) MCFG_FLOPPY_DRIVE_ADD("upd765:1", pc88_floppies, "525hd", floppy_image_device::default_floppy_formats) |