diff options
Diffstat (limited to 'src/mame/drivers/quizshow.cpp')
-rw-r--r-- | src/mame/drivers/quizshow.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/quizshow.cpp b/src/mame/drivers/quizshow.cpp index 1f9a7d7b697..2f5e59f8956 100644 --- a/src/mame/drivers/quizshow.cpp +++ b/src/mame/drivers/quizshow.cpp @@ -46,7 +46,7 @@ public: m_main_ram(*this, "main_ram"), m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), - m_lamp(*this, "lamp%u", 0U) + m_lamps(*this, "lamp%u", 0U) { } DECLARE_CUSTOM_INPUT_MEMBER(tape_headpos_r); @@ -55,7 +55,7 @@ public: void quizshow(machine_config &config); protected: - virtual void machine_start() override { m_lamp.resolve(); } + virtual void machine_start() override { m_lamps.resolve(); } virtual void machine_reset() override; virtual void video_start() override; void mem_map(address_map &map); @@ -81,7 +81,7 @@ private: required_shared_ptr<uint8_t> m_main_ram; required_device<gfxdecode_device> m_gfxdecode; required_device<screen_device> m_screen; - output_finder<11> m_lamp; + output_finder<11> m_lamps; tilemap_t *m_tilemap; uint32_t m_clocks; @@ -146,7 +146,7 @@ WRITE8_MEMBER(quizshow_state::lamps1_w) { // d0-d3: P1 answer button lamps for (int i = 0; i < 4; i++) - m_lamp[i] = BIT(data, i); + m_lamps[i] = BIT(data, i); // d4-d7: N/C } @@ -155,7 +155,7 @@ WRITE8_MEMBER(quizshow_state::lamps2_w) { // d0-d3: P2 answer button lamps for (int i = 0; i < 4; i++) - m_lamp[i + 4] = BIT(data, i); + m_lamps[i + 4] = BIT(data, i); // d4-d7: N/C } @@ -163,8 +163,8 @@ WRITE8_MEMBER(quizshow_state::lamps2_w) WRITE8_MEMBER(quizshow_state::lamps3_w) { // d0-d1: start button lamps - m_lamp[8] = BIT(data, 0); - m_lamp[9] = BIT(data, 1); + m_lamps[8] = BIT(data, 0); + m_lamps[9] = BIT(data, 1); // d2-d3: unused? (chip is shared with tape_control_w) // d4-d7: N/C @@ -173,7 +173,7 @@ WRITE8_MEMBER(quizshow_state::lamps3_w) WRITE8_MEMBER(quizshow_state::tape_control_w) { // d2: enable user category select (changes tape head position) - m_lamp[10] = BIT(data, 2); + m_lamps[10] = BIT(data, 2); m_category_enable = (data & 0xc) == 0xc; // d3: tape motor |