summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sderby.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/sderby.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/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 */
}