summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/peyper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/peyper.cpp')
-rw-r--r--src/mame/drivers/peyper.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/peyper.cpp b/src/mame/drivers/peyper.cpp
index 7ab3906aab9..92905244bad 100644
--- a/src/mame/drivers/peyper.cpp
+++ b/src/mame/drivers/peyper.cpp
@@ -50,7 +50,7 @@ public:
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_switch(*this, "SWITCH.%u", 0)
- , m_led(*this, "led_%u", 1U)
+ , m_leds(*this, "led_%u", 1U)
, m_dpl(*this, "dpl_%u", 0U)
{ }
@@ -84,7 +84,7 @@ private:
uint8_t m_disp_layout[36];
required_device<cpu_device> m_maincpu;
required_ioport_array<4> m_switch;
- output_finder<4> m_led;
+ output_finder<4> m_leds;
output_finder<34> m_dpl; // 0 used as black hole
};
@@ -134,10 +134,10 @@ WRITE8_MEMBER( peyper_state::disp_w )
switch (q)
{
case 34: // player indicator lights (7-digit only)
- m_led[0] = BIT(a, 0); // PLAYER 1
- m_led[1] = BIT(a, 1); // PLAYER 2
- m_led[2] = BIT(a, 2); // PLAYER 3
- m_led[3] = BIT(a, 3); // PLAYER 4
+ m_leds[0] = BIT(a, 0); // PLAYER 1
+ m_leds[1] = BIT(a, 1); // PLAYER 2
+ m_leds[2] = BIT(a, 2); // PLAYER 3
+ m_leds[3] = BIT(a, 3); // PLAYER 4
break;
case 35: // units digits show 0
@@ -160,7 +160,7 @@ WRITE8_MEMBER( peyper_state::disp_w )
case 38: // player 2 indicators (6-digit only)
case 39: // player 3 indicators (6-digit only)
case 40: // player 4 indicators (6-digit only)
- m_led[q - 37] = BIT(a, 1); // player indicator
+ m_leds[q - 37] = BIT(a, 1); // player indicator
m_dpl[q - 7] = BIT(a, 2) ? 6 : 0; // million led (we show blank or 1 in millions digit)
// bit 3, looks like it turns on all the decimal points, reason unknown
break;
@@ -591,7 +591,7 @@ void peyper_state::machine_start()
{
genpin_class::machine_start();
- m_led.resolve();
+ m_leds.resolve();
m_dpl.resolve();
save_item(NAME(m_digit));