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/victory.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/victory.cpp')
-rw-r--r-- | src/mame/drivers/victory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/victory.cpp b/src/mame/drivers/victory.cpp index de111899849..316580bb4c7 100644 --- a/src/mame/drivers/victory.cpp +++ b/src/mame/drivers/victory.cpp @@ -112,10 +112,10 @@ WRITE8_MEMBER(victory_state::lamp_control_w) { - output().set_led_value(0, data & 0x80); - output().set_led_value(1, data & 0x40); - output().set_led_value(2, data & 0x20); - output().set_led_value(3, data & 0x10); + m_lamp[0] = BIT(data, 7); + m_lamp[1] = BIT(data, 6); + m_lamp[2] = BIT(data, 5); + m_lamp[3] = BIT(data, 4); } |