summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ted Green <tedgreen99@protonmail.com>2018-09-04 08:56:35 -0600
committer Ted Green <tedgreen99@protonmail.com>2018-09-04 08:57:17 -0600
commit9ee8c458e2f57ebbe7f56a4045cc4294b2fef469 (patch)
tree7dd05bec0e984cd35d192939ede62c8f25596f9c
parent836bcf5cfdfd93650be03e2f7c968fcd02484d38 (diff)
vrc5074: Use derived clock for UART (nw)
-rw-r--r--src/devices/machine/vrc5074.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/vrc5074.cpp b/src/devices/machine/vrc5074.cpp
index 3bc82a67286..dd275031b76 100644
--- a/src/devices/machine/vrc5074.cpp
+++ b/src/devices/machine/vrc5074.cpp
@@ -144,7 +144,7 @@ void vrc5074_device::target1_map(address_map &map)
}
MACHINE_CONFIG_START(vrc5074_device::device_add_mconfig)
- MCFG_DEVICE_ADD("uart", NS16550, this->clock() / 12)
+ MCFG_DEVICE_ADD("uart", NS16550, DERIVED_CLOCK(1, 12))
MCFG_INS8250_OUT_INT_CB(WRITELINE(*this, vrc5074_device, uart_irq_callback))
MCFG_INS8250_OUT_TX_CB(WRITELINE("ttys00", rs232_port_device, write_txd))
MCFG_INS8250_OUT_DTR_CB(WRITELINE("ttys00", rs232_port_device, write_dtr))