summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cischeat.cpp
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/drivers/cischeat.cpp
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/drivers/cischeat.cpp')
-rw-r--r--src/mame/drivers/cischeat.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/mame/drivers/cischeat.cpp b/src/mame/drivers/cischeat.cpp
index da78a439e7c..c85489ca884 100644
--- a/src/mame/drivers/cischeat.cpp
+++ b/src/mame/drivers/cischeat.cpp
@@ -544,15 +544,15 @@ WRITE16_MEMBER(cischeat_state::scudhamm_leds_w)
{
if (ACCESSING_BITS_8_15)
{
- m_led[0] = BIT(data, 8); // 3 buttons
- m_led[1] = BIT(data, 9);
- m_led[2] = BIT(data, 10);
+ m_leds[0] = BIT(data, 8); // 3 buttons
+ m_leds[1] = BIT(data, 9);
+ m_leds[2] = BIT(data, 10);
}
if (ACCESSING_BITS_0_7)
{
- m_led[3] = BIT(data, 4);
- m_led[4] = BIT(data, 5);
+ m_leds[3] = BIT(data, 4);
+ m_leds[4] = BIT(data, 5);
}
}
@@ -647,10 +647,10 @@ WRITE16_MEMBER(cischeat_state::armchmp2_leds_w)
{
if (ACCESSING_BITS_8_15)
{
- m_led[0] = BIT(data, 8);
- m_led[1] = BIT(data, 12);
- m_led[2] = BIT(data, 13);
- m_led[3] = BIT(data, 14);
+ m_leds[0] = BIT(data, 8);
+ m_leds[1] = BIT(data, 12);
+ m_leds[2] = BIT(data, 13);
+ m_leds[3] = BIT(data, 14);
}
if (ACCESSING_BITS_0_7)
@@ -694,9 +694,9 @@ WRITE16_MEMBER(cischeat_state::captflag_leds_w)
if (ACCESSING_BITS_8_15)
{
machine().bookkeeping().coin_counter_w(1, data & 0x0100); // coin 2
- m_led[0] = BIT(data, 8); // decide
+ m_leds[0] = BIT(data, 8); // decide
machine().bookkeeping().coin_counter_w(0, data & 0x0400); // coin 1
- m_led[1] = BIT(data, 13); // select
+ m_leds[1] = BIT(data, 13); // select
int power = (data & 0x1000);
m_captflag_hopper->motor_w(power ? 1 : 0); // prize motor