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/video/cischeat.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/video/cischeat.cpp')
-rw-r--r-- | src/mame/video/cischeat.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/video/cischeat.cpp b/src/mame/video/cischeat.cpp index de2267328e5..80942c6f944 100644 --- a/src/mame/video/cischeat.cpp +++ b/src/mame/video/cischeat.cpp @@ -132,8 +132,8 @@ WRITE16_MEMBER(cischeat_state::leds_out_w) { machine().bookkeeping().coin_counter_w(0, data & 0x01); machine().bookkeeping().coin_counter_w(1, data & 0x02); - m_led[0] = BIT(data, 4); // start button - m_led[1] = BIT(data, 5); // ? + m_leds[0] = BIT(data, 4); // start button + m_leds[1] = BIT(data, 5); // ? } } @@ -148,7 +148,7 @@ WRITE16_MEMBER(cischeat_state::motor_out_w) { // motor (seat?) if (ACCESSING_BITS_0_7) - m_led[2] = (data & 0xff) != m_motor_value ? 1 : 0; + m_leds[2] = (data & 0xff) != m_motor_value ? 1 : 0; m_motor_value = data & 0xff; } @@ -249,10 +249,10 @@ WRITE16_MEMBER(cischeat_state::f1gpstar_motor_w) { machine().bookkeeping().coin_counter_w(0, data & 0x01); machine().bookkeeping().coin_counter_w(1, data & 0x02); - m_led[0] = BIT(data, 2); // start button - m_led[1] = BIT(data, 5); // ? + m_leds[0] = BIT(data, 2); // start button + m_leds[1] = BIT(data, 5); // ? // wheel | seat motor - m_led[2] = BIT(data, 3) | BIT(data, 4); + m_leds[2] = BIT(data, 3) | BIT(data, 4); } } |