diff options
author | 2020-02-05 22:59:52 +1100 | |
---|---|---|
committer | 2020-02-05 22:59:52 +1100 | |
commit | 790a67fc076d746faa42a4184c313e115927d058 (patch) | |
tree | 8bb6f9b47b8874eb80fe19c47ea2f46762855e8f /src/devices/machine/mos6529.cpp | |
parent | 952981c6b6821e28fc65ac30aab1bbf5826f6f40 (diff) |
(nw) whole lot less of { *this }
Diffstat (limited to 'src/devices/machine/mos6529.cpp')
-rw-r--r-- | src/devices/machine/mos6529.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/machine/mos6529.cpp b/src/devices/machine/mos6529.cpp index b3eaf9d2a67..beacf44640b 100644 --- a/src/devices/machine/mos6529.cpp +++ b/src/devices/machine/mos6529.cpp @@ -31,10 +31,10 @@ DEFINE_DEVICE_TYPE(MOS6529, mos6529_device, "mos6529", "MOS 6529") // mos6529_device - constructor //------------------------------------------------- -mos6529_device::mos6529_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, MOS6529, tag, owner, clock), +mos6529_device::mos6529_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + device_t(mconfig, MOS6529, tag, owner, clock), m_input(0), - m_p_handler{{*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}, {*this}} + m_p_handler(*this) { } @@ -46,8 +46,7 @@ mos6529_device::mos6529_device(const machine_config &mconfig, const char *tag, d void mos6529_device::device_start() { // resolve callbacks - for (int i = 0; i < 8; i++) - m_p_handler[i].resolve_safe(); + m_p_handler.resolve_all_safe(); } |