diff options
Diffstat (limited to 'src/devices/cpu/z180/hd647180x.cpp')
-rw-r--r-- | src/devices/cpu/z180/hd647180x.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/z180/hd647180x.cpp b/src/devices/cpu/z180/hd647180x.cpp index 15bf3961d23..2311cd7b2ec 100644 --- a/src/devices/cpu/z180/hd647180x.cpp +++ b/src/devices/cpu/z180/hd647180x.cpp @@ -34,8 +34,8 @@ DEFINE_DEVICE_TYPE(HD647180X, hd647180x_device, "hd647180x", "Hitachi HD647180X hd647180x_device::hd647180x_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : z180_device(mconfig, HD647180X, tag, owner, clock, true, address_map_constructor(FUNC(hd647180x_device::prom_map), this)) - , m_port_input_cb{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}} - , m_port_output_cb{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}} + , m_port_input_cb(*this) + , m_port_output_cb(*this) , m_data_config("data", ENDIANNESS_LITTLE, 8, 9, 0, address_map_constructor(FUNC(hd647180x_device::ram_map), this)) { // arbitrary initial states @@ -275,10 +275,10 @@ void hd647180x_device::z180_internal_port_write(uint8_t port, uint8_t data) void hd647180x_device::device_resolve_objects() { - for (auto &cb : m_port_input_cb) - cb.resolve_safe(0xff); - for (auto &cb : m_port_output_cb) - cb.resolve_safe(); + z180_device::device_resolve_objects(); + + m_port_input_cb.resolve_all_safe(0xff); + m_port_output_cb.resolve_all_safe(); } void hd647180x_device::device_start() |