diff options
Diffstat (limited to 'src/mame/includes/irobot.h')
-rw-r--r-- | src/mame/includes/irobot.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h index 37f5c3ea008..1514978db80 100644 --- a/src/mame/includes/irobot.h +++ b/src/mame/includes/irobot.h @@ -41,7 +41,8 @@ public: m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), m_palette(*this, "palette"), - m_pokey(*this, "pokey%u", 1U) + m_pokey(*this, "pokey%u", 1U), + m_led(*this, "led%u", 0U) { } void init_irobot(); @@ -49,6 +50,7 @@ public: void irobot(machine_config &config); protected: + virtual void machine_start() override { m_led.resolve(); } virtual void machine_reset() override; virtual void video_start() override; void irobot_map(address_map &map); @@ -117,6 +119,7 @@ private: required_device<screen_device> m_screen; required_device<palette_device> m_palette; required_device_array<pokey_device, 4> m_pokey; + output_finder<2> m_led; }; #endif // MAME_INCLUDES_IROBOT_H |