diff options
author | wilbertpol <wilbertpol@users.noreply.github.com> | 2018-05-26 21:45:32 +0200 |
---|---|---|
committer | Vas Crabb <cuavas@users.noreply.github.com> | 2018-05-27 05:45:32 +1000 |
commit | 5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch) | |
tree | 76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/drivers/beta.cpp | |
parent | c6e63ee748b64eb971e7091ea19848cc55f4d8b5 (diff) |
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)
Diffstat (limited to 'src/mame/drivers/beta.cpp')
-rw-r--r-- | src/mame/drivers/beta.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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<speaker_sound_device> m_speaker; required_device<generic_slot_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)); |