summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mm74c922.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mm74c922.cpp')
-rw-r--r--src/devices/machine/mm74c922.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/machine/mm74c922.cpp b/src/devices/machine/mm74c922.cpp
index 13f15907838..f49b320b41a 100644
--- a/src/devices/machine/mm74c922.cpp
+++ b/src/devices/machine/mm74c922.cpp
@@ -35,7 +35,7 @@ DEFINE_DEVICE_TYPE(MM74C923, mm74c923_device, "mm74c923", "MM74C923 20-Key Encod
mm74c922_device::mm74c922_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int max_y) :
device_t(mconfig, type, tag, owner, clock),
m_write_da(*this),
- m_read_x{{*this}, {*this}, {*this}, {*this}},
+ m_read_x(*this),
m_cap_osc(0), m_cap_debounce(0),
m_max_y(max_y),
m_inhibit(false),
@@ -65,8 +65,7 @@ void mm74c922_device::device_start()
{
// resolve callbacks
m_write_da.resolve_safe();
- for (auto &read_x : m_read_x)
- read_x.resolve_safe((1 << m_max_y) - 1);
+ m_read_x.resolve_all_safe((1 << m_max_y) - 1);
// set initial values
change_output_lines();