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/beta.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/mame/drivers/beta.cpp') diff --git a/src/mame/drivers/beta.cpp b/src/mame/drivers/beta.cpp index c13cb63c4b7..40213d33007 100644 --- a/src/mame/drivers/beta.cpp +++ b/src/mame/drivers/beta.cpp @@ -58,8 +58,8 @@ public: m_speaker(*this, "speaker"), m_eprom(*this, EPROM_TAG), m_q(*this, "Q%u", 6U), - m_digit(*this, "digit%u", 0U), - m_led(*this, "led%u", 0U) + m_digits(*this, "digit%u", 0U), + m_leds(*this, "led%u", 0U) { } DECLARE_INPUT_CHANGED_MEMBER( trigger_reset ); @@ -85,8 +85,8 @@ private: required_device m_speaker; required_device m_eprom; required_ioport_array<4> m_q; - output_finder<6> m_digit; - output_finder<2> m_led; + output_finder<6> m_digits; + output_finder<2> m_leds; /* EPROM state */ int m_eprom_oe; @@ -162,7 +162,7 @@ INPUT_PORTS_END TIMER_CALLBACK_MEMBER(beta_state::led_refresh) { if (m_ls145_p < 6) - m_digit[m_ls145_p] = m_segment; + m_digits[m_ls145_p] = m_segment; } READ8_MEMBER( beta_state::riot_pa_r ) @@ -261,10 +261,10 @@ WRITE8_MEMBER( beta_state::riot_pb_w ) m_speaker->level_w(!BIT(data, 4)); /* address led */ - m_led[0] = BIT(data, 5); + m_leds[0] = BIT(data, 5); /* data led */ - m_led[1] = !BIT(data, 5); + m_leds[1] = !BIT(data, 5); /* EPROM address shift */ if (!BIT(m_old_data, 5) && BIT(data, 5)) @@ -316,8 +316,8 @@ DEVICE_IMAGE_UNLOAD_MEMBER( beta_state, beta_eprom ) void beta_state::machine_start() { - m_digit.resolve(); - m_led.resolve(); + m_digits.resolve(); + m_leds.resolve(); m_led_refresh_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(beta_state::led_refresh),this)); -- cgit v1.2.3