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/mk1.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/mk1.cpp')
-rw-r--r-- | src/mame/drivers/mk1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mk1.cpp b/src/mame/drivers/mk1.cpp index 3a5fd2ca9a2..bf4b0d3b264 100644 --- a/src/mame/drivers/mk1.cpp +++ b/src/mame/drivers/mk1.cpp @@ -55,7 +55,7 @@ public: : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_digits(*this, "digit%u", 0U) - , m_led(*this, "led%u", 0U) + , m_leds(*this, "led%u", 0U) { } DECLARE_READ8_MEMBER(mk1_f8_r); @@ -74,7 +74,7 @@ private: uint8_t m_led_data[4]; required_device<cpu_device> m_maincpu; output_finder<4> m_digits; - output_finder<4> m_led; + output_finder<4> m_leds; }; @@ -172,7 +172,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(mk1_state::mk1_update_leds) for (int i = 0; i < 4; i++) { m_digits[i] = m_led_data[i] >> 1; - m_led[i] = m_led_data[i] & 0x01; + m_leds[i] = m_led_data[i] & 0x01; m_led_data[i] = 0; } } @@ -181,7 +181,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(mk1_state::mk1_update_leds) void mk1_state::machine_start() { m_digits.resolve(); - m_led.resolve(); + m_leds.resolve(); } |