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/wacky_gator.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/wacky_gator.cpp')
-rw-r--r-- | src/mame/drivers/wacky_gator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/wacky_gator.cpp b/src/mame/drivers/wacky_gator.cpp index ddaedcdd4c4..f95c135a59d 100644 --- a/src/mame/drivers/wacky_gator.cpp +++ b/src/mame/drivers/wacky_gator.cpp @@ -42,7 +42,7 @@ public: m_samples(*this, "oki"), m_alligator(*this, "alligator%u", 0U), m_digit(*this, "digit%u", 0U), - m_lamp(*this, "lamp%u", 0U) + m_lamps(*this, "lamp%u", 0U) { } DECLARE_CUSTOM_INPUT_MEMBER(alligators_rear_sensors_r); @@ -85,7 +85,7 @@ private: required_memory_region m_samples; output_finder<5> m_alligator; output_finder<8> m_digit; - output_finder<32> m_lamp; + output_finder<32> m_lamps; int m_adpcm_sel; uint16_t m_adpcm_pos; @@ -185,7 +185,7 @@ void wackygtr_state::machine_start() { m_alligator.resolve(); m_digit.resolve(); - m_lamp.resolve(); + m_lamps.resolve(); save_item(NAME(m_adpcm_sel)); save_item(NAME(m_adpcm_pos)); @@ -211,7 +211,7 @@ void wackygtr_state::set_digits(int p, uint8_t value) void wackygtr_state::set_lamps(int p, uint8_t value) { for (int i=0; i<8; i++) - m_lamp[p + i] = BIT(value, i); + m_lamps[p + i] = BIT(value, i); } static INPUT_PORTS_START( wackygtr ) |