summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/snookr10.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/snookr10.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/snookr10.cpp')
-rw-r--r--src/mame/drivers/snookr10.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/snookr10.cpp b/src/mame/drivers/snookr10.cpp
index 2413e11431d..72cb2d38998 100644
--- a/src/mame/drivers/snookr10.cpp
+++ b/src/mame/drivers/snookr10.cpp
@@ -698,13 +698,13 @@ WRITE8_MEMBER(snookr10_state::output_port_0_w)
m_bit4 = m_outporth & 1;
m_bit5 = (m_outporth >> 1) & 1;
- m_lamp[0] = m_bit5; /* Lamp 0 - START */
- m_lamp[1] = m_bit2; /* Lamp 1 - CANCEL */
- m_lamp[2] = m_bit0; /* Lamp 2 - STOP1 */
- m_lamp[3] = m_bit1; /* Lamp 3 - STOP2 */
- m_lamp[4] = m_bit0; /* Lamp 4 - STOP3 */
- m_lamp[5] = m_bit3; /* Lamp 5 - STOP4 */
- m_lamp[6] = m_bit4; /* Lamp 6 - STOP5 */
+ m_lamps[0] = m_bit5; /* Lamp 0 - START */
+ m_lamps[1] = m_bit2; /* Lamp 1 - CANCEL */
+ m_lamps[2] = m_bit0; /* Lamp 2 - STOP1 */
+ m_lamps[3] = m_bit1; /* Lamp 3 - STOP2 */
+ m_lamps[4] = m_bit0; /* Lamp 4 - STOP3 */
+ m_lamps[5] = m_bit3; /* Lamp 5 - STOP4 */
+ m_lamps[6] = m_bit4; /* Lamp 6 - STOP5 */
machine().bookkeeping().coin_counter_w(0, data & 0x01); /* Coin in */
machine().bookkeeping().coin_counter_w(1, data & 0x10); /* Key in */
@@ -739,13 +739,13 @@ WRITE8_MEMBER(snookr10_state::output_port_1_w)
m_bit4 = data & 1;
m_bit5 = (data >> 1) & 1;
- m_lamp[0] = m_bit5; /* Lamp 0 - START */
- m_lamp[1] = m_bit2; /* Lamp 1 - CANCEL */
- m_lamp[2] = m_bit0; /* Lamp 2 - STOP1 */
- m_lamp[3] = m_bit1; /* Lamp 3 - STOP2 */
- m_lamp[4] = m_bit0; /* Lamp 4 - STOP3 */
- m_lamp[5] = m_bit3; /* Lamp 5 - STOP4 */
- m_lamp[6] = m_bit4; /* Lamp 6 - STOP5 */
+ m_lamps[0] = m_bit5; /* Lamp 0 - START */
+ m_lamps[1] = m_bit2; /* Lamp 1 - CANCEL */
+ m_lamps[2] = m_bit0; /* Lamp 2 - STOP1 */
+ m_lamps[3] = m_bit1; /* Lamp 3 - STOP2 */
+ m_lamps[4] = m_bit0; /* Lamp 4 - STOP3 */
+ m_lamps[5] = m_bit3; /* Lamp 5 - STOP4 */
+ m_lamps[6] = m_bit4; /* Lamp 6 - STOP5 */
}