summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/te7750.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/te7750.cpp')
-rw-r--r--src/devices/machine/te7750.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/devices/machine/te7750.cpp b/src/devices/machine/te7750.cpp
index a59c25ea8a1..2fa70bebf56 100644
--- a/src/devices/machine/te7750.cpp
+++ b/src/devices/machine/te7750.cpp
@@ -189,8 +189,8 @@ DEFINE_DEVICE_TYPE(TE7752, te7752_device, "te7752", "TE7752 Super I/O Expander")
te7750_device::te7750_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock)
: device_t(mconfig, type, tag, owner, clock)
- , m_input_cb{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}}
- , m_output_cb{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}}
+ , m_input_cb(*this)
+ , m_output_cb(*this)
, m_ios_cb(*this)
{
std::fill(std::begin(m_data_dir), std::end(m_data_dir), 0xff);
@@ -217,10 +217,8 @@ te7752_device::te7752_device(const machine_config &mconfig, const char *tag, dev
void te7750_device::device_start()
{
// resolve port callbacks
- for (auto &cb : m_input_cb)
- cb.resolve_safe(0xff);
- for (auto &cb : m_output_cb)
- cb.resolve_safe();
+ m_input_cb.resolve_all_safe(0xff);
+ m_output_cb.resolve_all_safe();
// resolve IOS (assume soft mode unless specified)
m_ios_cb.resolve_safe(0);