summaryrefslogtreecommitdiffstats
path: root/src/mame/includes/starshp1.h
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2013-04-10 09:01:10 +0000
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2013-04-10 09:01:10 +0000
commit1da9a7259b83e14d86abe8e66828ad1a6b5cc87c (patch)
treed4f610caed37d03ff0d9a412aec8e017ea713e24 /src/mame/includes/starshp1.h
parent9be192b9a41faf1f4f9d9b719440440d88671887 (diff)
added m_maincpu to the rest of drivers in mame (nw)
Diffstat (limited to 'src/mame/includes/starshp1.h')
-rw-r--r--src/mame/includes/starshp1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index b34ba300644..e120b2bcbb4 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -38,7 +38,8 @@ public:
m_playfield_ram(*this, "playfield_ram"),
m_hpos_ram(*this, "hpos_ram"),
m_vpos_ram(*this, "vpos_ram"),
- m_obj_ram(*this, "obj_ram"){ }
+ m_obj_ram(*this, "obj_ram"),
+ m_maincpu(*this, "maincpu") { }
int m_analog_in_select;
int m_attract;
@@ -96,6 +97,7 @@ public:
int spaceship_collision(bitmap_ind16 &bitmap, const rectangle &rect);
int point_in_circle(int x, int y, int center_x, int center_y, int r);
int circle_collision(const rectangle &rect);
+ required_device<cpu_device> m_maincpu;
};
/*----------- defined in audio/starshp1.c -----------*/