From 5291d140218339dff4fa471b1f8f1cfab3eb3fa1 Mon Sep 17 00:00:00 2001 From: wilbertpol Date: Sat, 26 May 2018 21:45:32 +0200 Subject: 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) --- src/mame/drivers/mcr.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/mame/drivers/mcr.cpp') 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? } -- cgit v1.2.3