diff options
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 |
commit | 5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch) | |
tree | 76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/drivers/goldstar.cpp | |
parent | c6e63ee748b64eb971e7091ea19848cc55f4d8b5 (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/goldstar.cpp')
-rw-r--r-- | src/mame/drivers/goldstar.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mame/drivers/goldstar.cpp b/src/mame/drivers/goldstar.cpp index 00604a845d5..ae9793cc5c5 100644 --- a/src/mame/drivers/goldstar.cpp +++ b/src/mame/drivers/goldstar.cpp @@ -303,28 +303,28 @@ WRITE8_MEMBER(goldstar_state::p1_lamps_w) skill98 is like schery97 but doesn't activate bit 0 for stop nfb96, roypok96 and nc96 sets are like schery97 but they don't activate bit 2 for select */ - m_lamp[0] = BIT(data, 0); - m_lamp[1] = BIT(data, 1); - m_lamp[2] = BIT(data, 2); - m_lamp[3] = BIT(data, 3); - m_lamp[4] = BIT(data, 4); - m_lamp[5] = BIT(data, 5); - m_lamp[6] = BIT(data, 6); - m_lamp[7] = BIT(data, 7); + m_lamps[0] = BIT(data, 0); + m_lamps[1] = BIT(data, 1); + m_lamps[2] = BIT(data, 2); + m_lamps[3] = BIT(data, 3); + m_lamps[4] = BIT(data, 4); + m_lamps[5] = BIT(data, 5); + m_lamps[6] = BIT(data, 6); + m_lamps[7] = BIT(data, 7); // popmessage("p1 lamps: %02X", data); } WRITE8_MEMBER(goldstar_state::p2_lamps_w) { - m_lamp[8 + 0] = BIT(data, 0); - m_lamp[8 + 1] = BIT(data, 1); - m_lamp[8 + 2] = BIT(data, 2); - m_lamp[8 + 3] = BIT(data, 3); - m_lamp[8 + 4] = BIT(data, 4); - m_lamp[8 + 5] = BIT(data, 5); - m_lamp[8 + 6] = BIT(data, 6); - m_lamp[8 + 7] = BIT(data, 7); + m_lamps[8 + 0] = BIT(data, 0); + m_lamps[8 + 1] = BIT(data, 1); + m_lamps[8 + 2] = BIT(data, 2); + m_lamps[8 + 3] = BIT(data, 3); + m_lamps[8 + 4] = BIT(data, 4); + m_lamps[8 + 5] = BIT(data, 5); + m_lamps[8 + 6] = BIT(data, 6); + m_lamps[8 + 7] = BIT(data, 7); // popmessage("p2 lamps: %02X", data); } @@ -1203,12 +1203,12 @@ WRITE8_MEMBER(unkch_state::unkcm_0x02_w) if (!m_vblank_irq_enable) m_maincpu->set_input_line(INPUT_LINE_NMI, CLEAR_LINE); - m_lamp[0] = BIT(data, 0); /* Bet-A / Stop 2 */ - m_lamp[1] = BIT(data, 1); /* Start / Stop All */ - m_lamp[2] = BIT(data, 2); /* Info / Small / Stop 3 */ - m_lamp[3] = BIT(data, 3); /* Big */ - m_lamp[4] = BIT(data, 4); /* Bet-B / D-Up */ - m_lamp[5] = BIT(data, 5); /* Take / Stop 1 */ + m_lamps[0] = BIT(data, 0); /* Bet-A / Stop 2 */ + m_lamps[1] = BIT(data, 1); /* Start / Stop All */ + m_lamps[2] = BIT(data, 2); /* Info / Small / Stop 3 */ + m_lamps[3] = BIT(data, 3); /* Big */ + m_lamps[4] = BIT(data, 4); /* Bet-B / D-Up */ + m_lamps[5] = BIT(data, 5); /* Take / Stop 1 */ } WRITE8_MEMBER(unkch_state::unkcm_0x03_w) |