summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video
diff options
context:
space:
mode:
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
commit5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch)
tree76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/video
parentc6e63ee748b64eb971e7091ea19848cc55f4d8b5 (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')
-rw-r--r--src/mame/video/cischeat.cpp12
-rw-r--r--src/mame/video/epos.cpp4
2 files changed, 8 insertions, 8 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);
}
}
diff --git a/src/mame/video/epos.cpp b/src/mame/video/epos.cpp
index b722033d4b9..a73baff8ea3 100644
--- a/src/mame/video/epos.cpp
+++ b/src/mame/video/epos.cpp
@@ -70,8 +70,8 @@ WRITE8_MEMBER(epos_state::port_1_w)
D4-D7 - unused
*/
- m_led[0] = BIT(data, 0);
- m_led[1] = BIT(data, 1);
+ m_leds[0] = BIT(data, 0);
+ m_leds[1] = BIT(data, 1);
machine().bookkeeping().coin_counter_w(0, (data >> 2) & 0x01);