summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mhavoc.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/machine/mhavoc.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/machine/mhavoc.cpp')
-rw-r--r--src/mame/machine/mhavoc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/mhavoc.cpp b/src/mame/machine/mhavoc.cpp
index 23183d12f55..232406de97d 100644
--- a/src/mame/machine/mhavoc.cpp
+++ b/src/mame/machine/mhavoc.cpp
@@ -65,7 +65,7 @@ WRITE8_MEMBER(mhavoc_state::mhavoc_gamma_irq_ack_w)
void mhavoc_state::machine_start()
{
- m_lamp.resolve();
+ m_lamps.resolve();
save_item(NAME(m_alpha_data));
save_item(NAME(m_alpha_rcvd));
@@ -269,17 +269,17 @@ WRITE8_MEMBER(mhavoc_state::mhavoc_out_0_w)
/* this is the unpopulated processor in the corner of the pcb farthest from the quad pokey, not used on shipping boards */
/* Bit 0 = Roller light (Blinks on fatal errors) */
- m_lamp[0] = BIT(data, 0);
+ m_lamps[0] = BIT(data, 0);
}
WRITE8_MEMBER(mhavoc_state::alphaone_out_0_w)
{
/* Bit 5 = P2 lamp */
- m_lamp[0] = BIT(~data, 5);
+ m_lamps[0] = BIT(~data, 5);
/* Bit 4 = P1 lamp */
- m_lamp[1] = BIT(~data, 4);
+ m_lamps[1] = BIT(~data, 4);
/* Bit 1 = right coin counter */
machine().bookkeeping().coin_counter_w(1, data & 0x02);