summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mcr.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/mcr.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/mcr.cpp')
-rw-r--r--src/mame/drivers/mcr.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/mcr.cpp b/src/mame/drivers/mcr.cpp
index 797a881082e..f78a0409632 100644
--- a/src/mame/drivers/mcr.cpp
+++ b/src/mame/drivers/mcr.cpp
@@ -414,24 +414,24 @@ READ8_MEMBER(mcr_dpoker_state::ip0_r)
WRITE8_MEMBER(mcr_dpoker_state::lamps1_w)
{
// cpanel button lamps (white)
- m_lamp[0] = BIT(data, 0); // hold 1
- m_lamp[1] = BIT(data, 4); // hold 2
- m_lamp[2] = BIT(data, 5); // hold 3
- m_lamp[3] = BIT(data, 6); // hold 4
- m_lamp[4] = BIT(data, 7); // hold 5
- m_lamp[5] = BIT(data, 1); // deal
- m_lamp[6] = BIT(data, 2); // cancel
- m_lamp[7] = BIT(data, 3); // stand
+ m_lamps[0] = BIT(data, 0); // hold 1
+ m_lamps[1] = BIT(data, 4); // hold 2
+ m_lamps[2] = BIT(data, 5); // hold 3
+ m_lamps[3] = BIT(data, 6); // hold 4
+ m_lamps[4] = BIT(data, 7); // hold 5
+ m_lamps[5] = BIT(data, 1); // deal
+ m_lamps[6] = BIT(data, 2); // cancel
+ m_lamps[7] = BIT(data, 3); // stand
}
WRITE8_MEMBER(mcr_dpoker_state::lamps2_w)
{
// d5: button lamp: service or change
- m_lamp[8] = BIT(data, 5);
+ m_lamps[8] = BIT(data, 5);
// d0-d4: marquee lamps: coin 1 to 5 --> output lamps 9 to 13
for (int i = 0; i < 5; i++)
- m_lamp[9 + i] = BIT(data, i);
+ m_lamps[9 + i] = BIT(data, i);
// d6, d7: unused?
}