diff options
Diffstat (limited to 'src/mame/drivers/marywu.cpp')
-rw-r--r-- | src/mame/drivers/marywu.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/marywu.cpp b/src/mame/drivers/marywu.cpp index 42e8d0f7556..ba5a66d5e8b 100644 --- a/src/mame/drivers/marywu.cpp +++ b/src/mame/drivers/marywu.cpp @@ -30,7 +30,7 @@ public: marywu_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_digits(*this, "digit%u", 0U) - , m_led(*this, "led%u", 0U) + , m_leds(*this, "led%u", 0U) { } DECLARE_WRITE8_MEMBER(display_7seg_data_w); @@ -47,7 +47,7 @@ private: uint8_t m_selected_7seg_module; virtual void machine_start() override; output_finder<32> m_digits; - output_finder<30> m_led; + output_finder<30> m_leds; }; static INPUT_PORTS_START( marywu ) @@ -111,21 +111,21 @@ INPUT_PORTS_END WRITE8_MEMBER( marywu_state::ay1_port_a_w ) { for (uint8_t i=0; i<8; i++){ - m_led[i] = BIT(data, i); + m_leds[i] = BIT(data, i); } } WRITE8_MEMBER( marywu_state::ay1_port_b_w ) { for (uint8_t i=0; i<8; i++){ - m_led[i+8] = BIT(data, i); + m_leds[i+8] = BIT(data, i); } } WRITE8_MEMBER( marywu_state::ay2_port_a_w ) { for (uint8_t i=0; i<8; i++){ - m_led[i+16] = BIT(data, i); + m_leds[i+16] = BIT(data, i); } } @@ -133,7 +133,7 @@ WRITE8_MEMBER( marywu_state::ay2_port_b_w ) { for (uint8_t i=0; i<6; i++){ /* we only have 30 LEDs. The last 2 bits in this port are unused. */ - m_led[i+24] = BIT(data, i); + m_leds[i+24] = BIT(data, i); } } @@ -181,7 +181,7 @@ void marywu_state::io_map(address_map &map) void marywu_state::machine_start() { m_digits.resolve(); - m_led.resolve(); + m_leds.resolve(); } MACHINE_CONFIG_START(marywu_state::marywu) |