diff options
author | 2023-05-28 23:40:30 +0200 | |
---|---|---|
committer | 2023-06-06 10:26:58 +0200 | |
commit | c07474dfb380aa4c98ad2c64e4d0264a64e38d6e (patch) | |
tree | d0b78c90d2189422d50e6be2ab2f49c348fd2d36 /src/devices/cpu/h8/h8_dtc.cpp | |
parent | 780f647c17b4590b02d9c4185a002540bdfb5de2 (diff) |
h8: Use finders
Diffstat (limited to 'src/devices/cpu/h8/h8_dtc.cpp')
-rw-r--r-- | src/devices/cpu/h8/h8_dtc.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/devices/cpu/h8/h8_dtc.cpp b/src/devices/cpu/h8/h8_dtc.cpp index f035f4f8d5d..81fb0e6728a 100644 --- a/src/devices/cpu/h8/h8_dtc.cpp +++ b/src/devices/cpu/h8/h8_dtc.cpp @@ -26,19 +26,14 @@ const int h8_dtc_device::vector_to_enable[92] = { h8_dtc_device::h8_dtc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, H8_DTC, tag, owner, clock), - m_cpu(*this, DEVICE_SELF_OWNER) + m_cpu(*this, finder_base::DUMMY_TAG), + m_intc(*this, finder_base::DUMMY_TAG) { } -void h8_dtc_device::set_info(const char *intc_tag, int irq) -{ - m_intc_tag = intc_tag; - m_irq = irq; -} - void h8_dtc_device::device_start() { - m_intc = siblingdevice<h8_intc_device>(m_intc_tag); + // TODO, probably need to kill the vectors } void h8_dtc_device::device_reset() |