summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/avalnche.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/avalnche.h')
-rw-r--r--src/mame/includes/avalnche.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/includes/avalnche.h b/src/mame/includes/avalnche.h
index 9dc0edd3e7c..91256799205 100644
--- a/src/mame/includes/avalnche.h
+++ b/src/mame/includes/avalnche.h
@@ -13,8 +13,8 @@ public:
avalnche_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
- m_discrete(*this, "discrete")
- { }
+ m_discrete(*this, "discrete"),
+ m_maincpu(*this, "maincpu") { }
required_shared_ptr<UINT8> m_videoram;
optional_device<discrete_device> m_discrete;
@@ -33,6 +33,7 @@ public:
DECLARE_WRITE8_MEMBER(avalnche_attract_enable_w);
DECLARE_WRITE8_MEMBER(avalnche_audio_w);
DECLARE_WRITE8_MEMBER(catch_audio_w);
+ required_device<cpu_device> m_maincpu;
};