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/includes/jpmimpct.h | |
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/includes/jpmimpct.h')
-rw-r--r-- | src/mame/includes/jpmimpct.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/jpmimpct.h b/src/mame/includes/jpmimpct.h index 3fc55f7dc44..6bde694bd20 100644 --- a/src/mame/includes/jpmimpct.h +++ b/src/mame/includes/jpmimpct.h @@ -76,7 +76,8 @@ public: , m_reel5(*this, "reel5") , m_meters(*this, "meters") , m_digits(*this, "digit%u", 0U) - { } + , m_lamp_output(*this, "lamp%u", 0U) + { } DECLARE_WRITE_LINE_MEMBER(reel0_optic_cb) { if (state) m_optic_pattern |= 0x01; else m_optic_pattern &= ~0x01; } DECLARE_WRITE_LINE_MEMBER(reel1_optic_cb) { if (state) m_optic_pattern |= 0x02; else m_optic_pattern &= ~0x02; } @@ -156,4 +157,5 @@ private: optional_device<stepper_device> m_reel5; required_device<meters_device> m_meters; output_finder<300> m_digits; + output_finder<256> m_lamp_output; }; |