summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/snookr10.cpp
diff options
context:
space:
mode:
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 d61b2e2dd92..2413e11431d 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;
- output().set_lamp_value(0, m_bit5); /* Lamp 0 - START */
- output().set_lamp_value(1, m_bit2); /* Lamp 1 - CANCEL */
- output().set_lamp_value(2, m_bit0); /* Lamp 2 - STOP1 */
- output().set_lamp_value(3, m_bit1); /* Lamp 3 - STOP2 */
- output().set_lamp_value(4, m_bit0); /* Lamp 4 - STOP3 */
- output().set_lamp_value(5, m_bit3); /* Lamp 5 - STOP4 */
- output().set_lamp_value(6, m_bit4); /* Lamp 6 - STOP5 */
+ 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 */
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;
- output().set_lamp_value(0, m_bit5); /* Lamp 0 - START */
- output().set_lamp_value(1, m_bit2); /* Lamp 1 - CANCEL */
- output().set_lamp_value(2, m_bit0); /* Lamp 2 - STOP1 */
- output().set_lamp_value(3, m_bit1); /* Lamp 3 - STOP2 */
- output().set_lamp_value(4, m_bit0); /* Lamp 4 - STOP3 */
- output().set_lamp_value(5, m_bit3); /* Lamp 5 - STOP4 */
- output().set_lamp_value(6, m_bit4); /* Lamp 6 - STOP5 */
+ 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 */
}