summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/lethalj.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/lethalj.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/lethalj.cpp')
-rw-r--r--src/mame/drivers/lethalj.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/lethalj.cpp b/src/mame/drivers/lethalj.cpp
index 4759b12892f..6b767637031 100644
--- a/src/mame/drivers/lethalj.cpp
+++ b/src/mame/drivers/lethalj.cpp
@@ -178,16 +178,16 @@ WRITE16_MEMBER(lethalj_state::ripribit_control_w)
{
machine().bookkeeping().coin_counter_w(0, BIT(data, 0));
m_ticket->motor_w(BIT(data, 1));
- m_lamp[0] = BIT(data, 2);
+ m_lamps[0] = BIT(data, 2);
}
WRITE16_MEMBER(lethalj_state::cfarm_control_w)
{
m_ticket->motor_w(BIT(data, 0));
- m_lamp[0] = BIT(data, 2);
- m_lamp[1] = BIT(data, 3);
- m_lamp[2] = BIT(data, 4);
+ m_lamps[0] = BIT(data, 2);
+ m_lamps[1] = BIT(data, 3);
+ m_lamps[2] = BIT(data, 4);
machine().bookkeeping().coin_counter_w(0, BIT(data, 7));
}
@@ -195,9 +195,9 @@ WRITE16_MEMBER(lethalj_state::cfarm_control_w)
WRITE16_MEMBER(lethalj_state::cclownz_control_w)
{
m_ticket->motor_w(BIT(data, 0));
- m_lamp[0] = BIT(data, 2);
- m_lamp[1] = BIT(data, 4);
- m_lamp[2] = BIT(data, 5);
+ m_lamps[0] = BIT(data, 2);
+ m_lamps[1] = BIT(data, 4);
+ m_lamps[2] = BIT(data, 5);
machine().bookkeeping().coin_counter_w(0, BIT(data, 6));
}