From 2beba4ce73fad917c7159a39939bace54f76494b Mon Sep 17 00:00:00 2001 From: wilbertpol Date: Sun, 20 May 2018 19:27:20 +0200 Subject: =?UTF-8?q?Replace=20set=5Fled=5Fvalue=20and=20set=5Flamp=5Fvalue?= =?UTF-8?q?=20with=20output=5Ffinders.=20=20[Wilbe=E2=80=A6=20(#3592)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Replace set_led_value and set_lamp_value with output_finders. [Wilbert Pol] * segaufo: keep the 2 bit lamp outputs --- src/mame/includes/ccastles.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mame/includes/ccastles.h') diff --git a/src/mame/includes/ccastles.h b/src/mame/includes/ccastles.h index 680a412426f..a7ba5ce2dc8 100644 --- a/src/mame/includes/ccastles.h +++ b/src/mame/includes/ccastles.h @@ -26,7 +26,8 @@ public: m_spriteram(*this, "spriteram"), m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), - m_palette(*this, "palette") + m_palette(*this, "palette"), + m_led(*this, "led%u", 0U) { } DECLARE_CUSTOM_INPUT_MEMBER(get_vblank); @@ -72,6 +73,7 @@ private: required_device m_gfxdecode; required_device m_screen; required_device m_palette; + output_finder<2> m_led; /* video-related */ const uint8_t *m_syncprom; -- cgit v1.2.3