summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/exterm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/exterm.h')
-rw-r--r--src/mame/includes/exterm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/exterm.h b/src/mame/includes/exterm.h
index 54f8f05537c..cf2fb30779b 100644
--- a/src/mame/includes/exterm.h
+++ b/src/mame/includes/exterm.h
@@ -10,7 +10,8 @@ public:
exterm_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_master_videoram(*this, "master_videoram"),
- m_slave_videoram(*this, "slave_videoram"){ }
+ m_slave_videoram(*this, "slave_videoram"),
+ m_maincpu(*this, "maincpu") { }
UINT8 m_aimpos[2];
UINT8 m_trackball_old[2];
@@ -37,6 +38,7 @@ public:
virtual void palette_init();
TIMER_CALLBACK_MEMBER(sound_delayed_w);
TIMER_DEVICE_CALLBACK_MEMBER(master_sound_nmi_callback);
+ required_device<cpu_device> m_maincpu;
};
/*----------- defined in video/exterm.c -----------*/