summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mappy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mappy.h')
-rw-r--r--src/mame/includes/mappy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/mappy.h b/src/mame/includes/mappy.h
index 69355887d0c..8056ac6bc52 100644
--- a/src/mame/includes/mappy.h
+++ b/src/mame/includes/mappy.h
@@ -4,7 +4,8 @@ public:
mappy_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
- m_spriteram(*this, "spriteram"){ }
+ m_spriteram(*this, "spriteram"),
+ m_maincpu(*this, "maincpu") { }
required_shared_ptr<UINT8> m_videoram;
required_shared_ptr<UINT8> m_spriteram;
@@ -64,4 +65,5 @@ public:
TIMER_CALLBACK_MEMBER(mappy_io_run);
void mappy_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 *spriteram_base);
void phozon_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 *spriteram_base);
+ required_device<cpu_device> m_maincpu;
};