summaryrefslogtreecommitdiffstats
path: root/src/mame/includes/starshp1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/starshp1.h')
-rw-r--r--src/mame/includes/starshp1.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index d666e9db81d..c2ec5b00067 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -58,7 +58,8 @@ public:
m_discrete(*this, "discrete"),
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
- m_palette(*this, "palette")
+ m_palette(*this, "palette"),
+ m_led(*this, "led0")
{ }
DECLARE_CUSTOM_INPUT_MEMBER(starshp1_analog_r);
@@ -66,6 +67,7 @@ public:
void starshp1(machine_config &config);
protected:
+ virtual void machine_start() override;
DECLARE_WRITE8_MEMBER(starshp1_collision_reset_w);
DECLARE_WRITE8_MEMBER(starshp1_analog_in_w);
DECLARE_WRITE_LINE_MEMBER(ship_explode_w);
@@ -136,6 +138,7 @@ private:
required_device<gfxdecode_device> m_gfxdecode;
required_device<screen_device> m_screen;
required_device<palette_device> m_palette;
+ output_finder<> m_led;
};
/*----------- defined in audio/starshp1.c -----------*/