summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dmv.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/dmv.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/dmv.cpp')
-rw-r--r--src/mame/drivers/dmv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/dmv.cpp b/src/mame/drivers/dmv.cpp
index 52d8de6a3a2..2a095f2a0f5 100644
--- a/src/mame/drivers/dmv.cpp
+++ b/src/mame/drivers/dmv.cpp
@@ -69,7 +69,7 @@ public:
, m_slot6(*this, "slot6")
, m_slot7(*this, "slot7")
, m_slot7a(*this, "slot7a")
- , m_led(*this, "led%u", 0U)
+ , m_leds(*this, "led%u", 1U)
{ }
void update_halt_line();
@@ -176,7 +176,7 @@ private:
required_device<dmvcart_slot_device> m_slot6;
required_device<dmvcart_slot_device> m_slot7;
required_device<dmvcart_slot_device> m_slot7a;
- output_finder<9> m_led;
+ output_finder<8> m_leds;
bool m_ramoutdis;
int m_switch16;
@@ -220,7 +220,7 @@ WRITE8_MEMBER(dmv_state::leds_w)
*/
for(int i=0; i<8; i++)
- m_led[8-i] = BIT(data, i);
+ m_leds[7-i] = BIT(data, i);
}
READ8_MEMBER(dmv_state::ramsel_r)
@@ -624,7 +624,7 @@ INPUT_PORTS_END
void dmv_state::machine_start()
{
- m_led.resolve();
+ m_leds.resolve();
}
void dmv_state::machine_reset()