From 5291d140218339dff4fa471b1f8f1cfab3eb3fa1 Mon Sep 17 00:00:00 2001 From: wilbertpol Date: Sat, 26 May 2018 21:45:32 +0200 Subject: use plural names for output finders when there are multiple outputs (#3595) * use plural names for output finders when there are multiple outputs (nw) * use plural names for output finders when there are multiple outputs (nw) * use plural names for output finders when there are multiple outputs (nw) --- src/mame/drivers/namcos23.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mame/drivers/namcos23.cpp') diff --git a/src/mame/drivers/namcos23.cpp b/src/mame/drivers/namcos23.cpp index 17c1b5744fa..e58473ba433 100644 --- a/src/mame/drivers/namcos23.cpp +++ b/src/mame/drivers/namcos23.cpp @@ -1431,7 +1431,7 @@ public: m_palette(*this, "palette"), m_generic_paletteram_32(*this, "paletteram"), m_adc_ports(*this, "ADC.%u", 0), - m_lamp(*this, "lamp%u", 0U) + m_lamps(*this, "lamp%u", 0U) { } render_t m_render; @@ -1617,7 +1617,7 @@ protected: uint8_t m_sub_porta; uint8_t m_sub_portb; uint8_t m_tssio_port_4; - output_finder<8> m_lamp; + output_finder<8> m_lamps; }; @@ -2797,7 +2797,7 @@ WRITE16_MEMBER(namcos23_state::ctl_w) if(m_ctl_led != (data & 0xff)) { m_ctl_led = data & 0xff; for(int i = 0; i < 8; i++) - m_lamp[i] = BIT(data, 7 - i); + m_lamps[i] = BIT(data, 7 - i); } break; @@ -3472,7 +3472,7 @@ INPUT_PORTS_END void namcos23_state::machine_start() { - m_lamp.resolve(); + m_lamps.resolve(); m_c361.timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(namcos23_state::c361_timer_cb),this)); m_c361.timer->adjust(attotime::never); -- cgit v1.2.3