diff options
author | 2020-02-05 12:41:58 +1100 | |
---|---|---|
committer | 2020-02-05 12:41:58 +1100 | |
commit | 601034c8d71b64262b257e47797f3a315ed16fcb (patch) | |
tree | 12aa75b291e4de3b5399e6fabb39e035adf79bc8 /src/devices/machine/tms9914.h | |
parent | e204d878f8dd2a222821a81f6773e69529ce83e8 (diff) |
devcb.cpp: syntactic sugar for constructing/resolving arrays of callbacks (nw)
Saves a lot of typing { *this }, { *this }... Could be applied in more places,
I just did a few devices to demonstrate it.
Diffstat (limited to 'src/devices/machine/tms9914.h')
-rw-r--r-- | src/devices/machine/tms9914.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/tms9914.h b/src/devices/machine/tms9914.h index 9fda5aa2ebb..39a6c8d5632 100644 --- a/src/devices/machine/tms9914.h +++ b/src/devices/machine/tms9914.h @@ -98,7 +98,7 @@ private: devcb_read8 m_dio_read_func; devcb_write8 m_dio_write_func; - devcb_write_line m_signal_wr_fns[ IEEE_488_SIGNAL_COUNT ]; + devcb_write_line::array<IEEE_488_SIGNAL_COUNT> m_signal_wr_fns; devcb_write_line m_int_write_func; devcb_write_line m_accrq_write_func; bool m_int_line; |