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/tempest.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/tempest.cpp')
-rw-r--r-- | src/mame/drivers/tempest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/tempest.cpp b/src/mame/drivers/tempest.cpp index 627581c4ba8..aded29ea746 100644 --- a/src/mame/drivers/tempest.cpp +++ b/src/mame/drivers/tempest.cpp @@ -311,7 +311,7 @@ public: m_buttons_p2(*this, TEMPEST_BUTTONS_P2_TAG), m_in1(*this, "IN1/DSW0"), m_in2(*this, "IN2"), - m_led(*this, "led%u", 0U) + m_leds(*this, "led%u", 0U) { } DECLARE_CUSTOM_INPUT_MEMBER(tempest_knob_r); @@ -344,7 +344,7 @@ private: required_ioport m_buttons_p2; required_ioport m_in1; required_ioport m_in2; - output_finder<2> m_led; + output_finder<2> m_leds; uint8_t m_player_select; }; @@ -352,7 +352,7 @@ private: void tempest_state::machine_start() { - m_led.resolve(); + m_leds.resolve(); save_item(NAME(m_player_select)); } @@ -413,8 +413,8 @@ READ8_MEMBER(tempest_state::input_port_2_bit_r) WRITE8_MEMBER(tempest_state::tempest_led_w) { - m_led[0] = BIT(~data, 1); - m_led[1] = BIT(~data, 0); + m_leds[0] = BIT(~data, 1); + m_leds[1] = BIT(~data, 0); /* FLIP is bit 0x04 */ m_player_select = data & 0x04; } |