summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/sderby.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sderby.cpp')
-rw-r--r--src/mame/drivers/sderby.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/sderby.cpp b/src/mame/drivers/sderby.cpp
index d93080fa35a..d1e2427b758 100644
--- a/src/mame/drivers/sderby.cpp
+++ b/src/mame/drivers/sderby.cpp
@@ -206,9 +206,9 @@ WRITE16_MEMBER(sderby_state::sderby_out_w)
x--- ---- End of Race lamp.
*/
- m_lamp[1] = BIT(data, 0); /* Lamp 1 - START */
- m_lamp[2] = BIT(data, 1); /* Lamp 2 - BET */
- m_lamp[3] = BIT(data, 15); /* Lamp 3 - END OF RACE */
+ m_lamps[0] = BIT(data, 0); /* Lamp 1 - START */
+ m_lamps[1] = BIT(data, 1); /* Lamp 2 - BET */
+ m_lamps[2] = BIT(data, 15); /* Lamp 3 - END OF RACE */
machine().bookkeeping().coin_counter_w(0, data & 0x2000);
}
@@ -251,13 +251,13 @@ WRITE16_MEMBER(sderby_state::scmatto_out_w)
--x- ---- Coin counter.
*/
- m_lamp[1] = BIT(data, 0); /* Lamp 1 - HOLD 1 */
- m_lamp[2] = BIT(data, 1); /* Lamp 2 - HOLD 2 */
- m_lamp[3] = BIT(data, 2); /* Lamp 3 - HOLD 3 */
- m_lamp[4] = BIT(data, 3); /* Lamp 4 - HOLD 4 */
- m_lamp[5] = BIT(data, 4); /* Lamp 5 - HOLD 5 */
- m_lamp[6] = BIT(data, 5); /* Lamp 6 - START */
- m_lamp[7] = BIT(data, 6); /* Lamp 7 - BET */
+ m_lamps[0] = BIT(data, 0); /* Lamp 1 - HOLD 1 */
+ m_lamps[1] = BIT(data, 1); /* Lamp 2 - HOLD 2 */
+ m_lamps[2] = BIT(data, 2); /* Lamp 3 - HOLD 3 */
+ m_lamps[3] = BIT(data, 3); /* Lamp 4 - HOLD 4 */
+ m_lamps[4] = BIT(data, 4); /* Lamp 5 - HOLD 5 */
+ m_lamps[5] = BIT(data, 5); /* Lamp 6 - START */
+ m_lamps[6] = BIT(data, 6); /* Lamp 7 - BET */
machine().bookkeeping().coin_counter_w(0, data & 0x2000);
}
@@ -287,8 +287,8 @@ WRITE16_MEMBER(sderby_state::roulette_out_w)
---- x--- Unknown (always activated).
*/
- m_lamp[1] = BIT(data, 0); /* Lamp 1 - START */
- m_lamp[2] = BIT(data, 1); /* Lamp 2 - BET */
+ m_lamps[0] = BIT(data, 0); /* Lamp 1 - START */
+ m_lamps[1] = BIT(data, 1); /* Lamp 2 - BET */
}