summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/polyplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/polyplay.h')
-rw-r--r--src/mame/includes/polyplay.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/polyplay.h b/src/mame/includes/polyplay.h
index 87fa3f1991a..af30d3473ac 100644
--- a/src/mame/includes/polyplay.h
+++ b/src/mame/includes/polyplay.h
@@ -8,7 +8,8 @@ public:
polyplay_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
- m_characterram(*this, "characterram"){ }
+ m_characterram(*this, "characterram"),
+ m_maincpu(*this, "maincpu") { }
required_shared_ptr<UINT8> m_videoram;
int m_freq1;
@@ -36,6 +37,7 @@ public:
INTERRUPT_GEN_MEMBER(periodic_interrupt);
INTERRUPT_GEN_MEMBER(coin_interrupt);
TIMER_DEVICE_CALLBACK_MEMBER(polyplay_timer_callback);
+ required_device<cpu_device> m_maincpu;
};