diff options
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 |
commit | 5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch) | |
tree | 76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/drivers/segaxbd.cpp | |
parent | c6e63ee748b64eb971e7091ea19848cc55f4d8b5 (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/segaxbd.cpp')
-rw-r--r-- | src/mame/drivers/segaxbd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/segaxbd.cpp b/src/mame/drivers/segaxbd.cpp index a829eda3c1c..6c7361832cd 100644 --- a/src/mame/drivers/segaxbd.cpp +++ b/src/mame/drivers/segaxbd.cpp @@ -310,7 +310,7 @@ segaxbd_state::segaxbd_state(const machine_config &mconfig, device_type type, co , m_io0_porta(*this, "IO0PORTA") , m_adc_ports(*this, "ADC%u", 0) , m_mux_ports(*this, "MUX%u", 0) - , m_lamp(*this, "lamp%u", 0U) + , m_lamps(*this, "lamp%u", 0U) { memset(m_adc_reverse, 0, sizeof(m_adc_reverse)); palette_init(); @@ -322,7 +322,7 @@ void segaxbd_state::device_start() if(!m_segaic16road->started()) throw device_missing_dependencies(); - m_lamp.resolve(); + m_lamps.resolve(); // point globals to allocated memory regions m_segaic16road->segaic16_roadram_0 = reinterpret_cast<uint16_t *>(memshare("roadram")->ptr()); @@ -690,10 +690,10 @@ void segaxbd_state::generic_iochip0_lamps_w(uint8_t data) // d6: danger lamp // in clone aburner, lamps work only in testmode? - m_lamp[0] = BIT(data, 5); - m_lamp[1] = BIT(data, 6); - m_lamp[2] = BIT(data, 1); - m_lamp[3] = BIT(data, 2); + m_lamps[0] = BIT(data, 5); + m_lamps[1] = BIT(data, 6); + m_lamps[2] = BIT(data, 1); + m_lamps[3] = BIT(data, 2); } |