summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segaufo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/segaufo.cpp')
-rw-r--r--src/mame/drivers/segaufo.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/segaufo.cpp b/src/mame/drivers/segaufo.cpp
index fce95e86f89..df648138f70 100644
--- a/src/mame/drivers/segaufo.cpp
+++ b/src/mame/drivers/segaufo.cpp
@@ -84,7 +84,7 @@ public:
m_upd(*this, "upd"),
m_counters(*this, "counter%u", 0U),
m_digits(*this, "digit%u", 0U),
- m_lamp(*this, "lamp%u", 0U)
+ m_lamps(*this, "lamp%u", 0U)
{ }
void ufomini(machine_config &config);
@@ -146,7 +146,7 @@ private:
optional_device<upd7759_device> m_upd;
output_finder<2 * 4> m_counters;
output_finder<2> m_digits;
- output_finder<28> m_lamp;
+ output_finder<28> m_lamps;
};
@@ -295,7 +295,7 @@ WRITE8_MEMBER(ufo_state::cp_lamps_w)
// d0-d3: p1/p2 button lamps
// other bits: ?
for (int i = 0; i < 4; i++)
- m_lamp[i] = BIT(~data, i);
+ m_lamps[i] = BIT(~data, i);
}
WRITE8_MEMBER(ufo_state::cp_digits_w)
@@ -334,8 +334,8 @@ WRITE8_MEMBER(ufo_state::ufo_lamps_w)
// 11 = red, red
// 01 = green, red
// 10 = red, green
- m_lamp[10] = data & 0x03;
- m_lamp[11] = (data >> 2) & 0x03;
+ m_lamps[10] = data & 0x03;
+ m_lamps[11] = (data >> 2) & 0x03;
// d4,d5: ?
// d6,d7: coincounters
@@ -402,7 +402,7 @@ WRITE8_MEMBER(ufo_state::ex_cp_lamps_w)
{
// d0,d1,d4,d5: p1/p2 button lamps
for (int i = 0; i < 4; i++)
- m_lamp[i] = BIT(~data, ((i&1) + (i&2) * 2));
+ m_lamps[i] = BIT(~data, ((i&1) + (i&2) * 2));
// d2,d3,d6,d7: p1/p2 coincounters
for (int i = 0; i < 4; i++)
@@ -433,7 +433,7 @@ WRITE8_MEMBER(ufo_state::ex_ufo800_lamps_w)
// d0-d4: 5 red leds on ufo
// other bits: ?
for (int i = 0; i < 5; i++)
- m_lamp[10 + i] = BIT(data, i);
+ m_lamps[10 + i] = BIT(data, i);
}
/* 315-5338A */
@@ -444,13 +444,13 @@ WRITE8_MEMBER(ufo_state::ex_ufo21_lamps1_w)
// d1-d6 are the 6 red leds on each ufo
// d7: ?
for (int i = 1; i < 7; i++)
- m_lamp[10 + i] = BIT(data, i);
+ m_lamps[10 + i] = BIT(data, i);
}
WRITE8_MEMBER(ufo_state::ex_ufo21_lamps2_w)
{
for (int i = 1; i < 7; i++)
- m_lamp[20 + i] = BIT(data, i);
+ m_lamps[20 + i] = BIT(data, i);
}
WRITE8_MEMBER(ufo_state::ex_upd_start_w)
@@ -749,7 +749,7 @@ void ufo_state::machine_start()
{
m_counters.resolve();
m_digits.resolve();
- m_lamp.resolve();
+ m_lamps.resolve();
// init/zerofill/register for savestates
static const float motor_speeds[4] =