summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/spcforce.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/spcforce.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/spcforce.cpp')
-rw-r--r--src/mame/drivers/spcforce.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/spcforce.cpp b/src/mame/drivers/spcforce.cpp
index db064b9d2ba..e0425fa9ba4 100644
--- a/src/mame/drivers/spcforce.cpp
+++ b/src/mame/drivers/spcforce.cpp
@@ -48,7 +48,7 @@ TODO:
void spcforce_state::machine_start()
{
- m_lamp.resolve();
+ m_lamps.resolve();
save_item(NAME(m_sn76496_latch));
save_item(NAME(m_sn76496_select));
@@ -110,9 +110,9 @@ WRITE8_MEMBER(spcforce_state::soundtrigger_w)
WRITE8_MEMBER(spcforce_state::misc_outputs_w)
{
- m_lamp[0] = BIT(data, 0); // 1P start lamp
+ m_lamps[0] = BIT(data, 0); // 1P start lamp
machine().bookkeeping().coin_counter_w(0, BIT(data, 1));
- m_lamp[1] = BIT(data, 2); // 2P start lamp
+ m_lamps[1] = BIT(data, 2); // 2P start lamp
machine().bookkeeping().coin_counter_w(1, BIT(data, 3));
}