summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/norautp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/norautp.cpp')
-rw-r--r--src/mame/drivers/norautp.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/norautp.cpp b/src/mame/drivers/norautp.cpp
index 756194617e1..0ff0827b9b2 100644
--- a/src/mame/drivers/norautp.cpp
+++ b/src/mame/drivers/norautp.cpp
@@ -647,14 +647,14 @@ WRITE8_MEMBER(norautp_state::mainlamps_w)
-x-- ---- * HOLD 5 lamp.
x--- ---- * CANCEL lamp.
*/
- m_lamp[0] = BIT(data, 0); /* CHANGE CARD lamp */
- m_lamp[1] = BIT(data, 1); /* SAVE / HALF GAMBLE lamp */
- m_lamp[2] = BIT(data, 2); /* HOLD 1 lamp */
- m_lamp[3] = BIT(data, 3); /* HOLD 2 lamp */
- m_lamp[4] = BIT(data, 4); /* HOLD 3 lamp */
- m_lamp[5] = BIT(data, 5); /* HOLD 4 lamp */
- m_lamp[6] = BIT(data, 6); /* HOLD 5 lamp */
- m_lamp[7] = BIT(data, 7); /* CANCEL lamp */
+ m_lamps[0] = BIT(data, 0); /* CHANGE CARD lamp */
+ m_lamps[1] = BIT(data, 1); /* SAVE / HALF GAMBLE lamp */
+ m_lamps[2] = BIT(data, 2); /* HOLD 1 lamp */
+ m_lamps[3] = BIT(data, 3); /* HOLD 2 lamp */
+ m_lamps[4] = BIT(data, 4); /* HOLD 3 lamp */
+ m_lamps[5] = BIT(data, 5); /* HOLD 4 lamp */
+ m_lamps[6] = BIT(data, 6); /* HOLD 5 lamp */
+ m_lamps[7] = BIT(data, 7); /* CANCEL lamp */
// popmessage("lamps: %02x", data);
}
@@ -672,8 +672,8 @@ WRITE8_MEMBER(norautp_state::soundlamps_w)
xxxx ---- * Discrete Sound Lines.
*/
- m_lamp[8] = BIT(data, 0); /* DEAL / DRAW lamp */
- m_lamp[9] = BIT(data, 1); /* BET / COLLECT lamp */
+ m_lamps[8] = BIT(data, 0); /* DEAL / DRAW lamp */
+ m_lamps[9] = BIT(data, 1); /* BET / COLLECT lamp */
/* the 4 MSB are for discrete sound */
m_discrete->write(space, NORAUTP_SND_EN, (data >> 7) & 0x01);
@@ -697,8 +697,8 @@ WRITE8_MEMBER(norautp_state::counterlamps_w)
-x-- ---- + Coin counter related.
x--- ---- + DEFLECT (always activated).
*/
- m_lamp[10] = BIT(data, 0); /* HI lamp */
- m_lamp[11] = BIT(data, 1); /* LO lamp */
+ m_lamps[10] = BIT(data, 0); /* HI lamp */
+ m_lamps[11] = BIT(data, 1); /* LO lamp */
machine().bookkeeping().coin_counter_w(0, data & 0x10); /* Coin1/3 counter */
machine().bookkeeping().coin_counter_w(1, data & 0x20); /* Coin2 counter */