diff options
author | Vas Crabb <vas@vastheman.com> | 2020-02-05 22:59:52 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-02-05 22:59:52 +1100 |
commit | 790a67fc076d746faa42a4184c313e115927d058 (patch) | |
tree | 8bb6f9b47b8874eb80fe19c47ea2f46762855e8f /src/mame/drivers/hng64.cpp | |
parent | 952981c6b6821e28fc65ac30aab1bbf5826f6f40 (diff) |
(nw) whole lot less of { *this }
Diffstat (limited to 'src/mame/drivers/hng64.cpp')
-rw-r--r-- | src/mame/drivers/hng64.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/hng64.cpp b/src/mame/drivers/hng64.cpp index 359eeaf44e4..73b12202363 100644 --- a/src/mame/drivers/hng64.cpp +++ b/src/mame/drivers/hng64.cpp @@ -1863,14 +1863,13 @@ DEFINE_DEVICE_TYPE(HNG64_LAMPS, hng64_lamps_device, "hng64_lamps", "HNG64 Lamps" hng64_lamps_device::hng64_lamps_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, HNG64_LAMPS, tag, owner, clock) - , m_lamps_out_cb{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}} + , m_lamps_out_cb(*this) { } void hng64_lamps_device::device_start() { - for (auto &cb : m_lamps_out_cb) - cb.resolve_safe(); + m_lamps_out_cb.resolve_all_safe(); } WRITE8_MEMBER(hng64_state::hng64_drive_lamps7_w) |