diff options
author | wilbertpol <wilbertpol@users.noreply.github.com> | 2018-05-20 19:27:20 +0200 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2018-05-20 13:27:20 -0400 |
commit | 2beba4ce73fad917c7159a39939bace54f76494b (patch) | |
tree | e9d33c059bc5045f13d0c1748f0a044650370b8d /src/mame/drivers/eolith.cpp | |
parent | acf93837ac21b2b0bb003d1649b893200c269812 (diff) |
Replace set_led_value and set_lamp_value with output_finders. [Wilbe… (#3592)
* Replace set_led_value and set_lamp_value with output_finders. [Wilbert Pol]
* segaufo: keep the 2 bit lamp outputs
Diffstat (limited to 'src/mame/drivers/eolith.cpp')
-rw-r--r-- | src/mame/drivers/eolith.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mame/drivers/eolith.cpp b/src/mame/drivers/eolith.cpp index 7219f3c7f14..af611ded3be 100644 --- a/src/mame/drivers/eolith.cpp +++ b/src/mame/drivers/eolith.cpp @@ -117,6 +117,11 @@ * *************************************/ +void eolith_state::machine_start() +{ + m_led.resolve(); +} + READ32_MEMBER(eolith_state::eolith_custom_r) { /* @@ -136,7 +141,7 @@ WRITE32_MEMBER(eolith_state::systemcontrol_w) { m_buffer = (data & 0x80) >> 7; machine().bookkeeping().coin_counter_w(0, data & m_coin_counter_bit); - output().set_led_value(0, data & 1); + m_led = BIT(data, 0); m_eepromoutport->write(data, 0xff); |