diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2013-04-10 08:42:34 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2013-04-10 08:42:34 +0000 |
commit | 9be192b9a41faf1f4f9d9b719440440d88671887 (patch) | |
tree | ce9ccd90a2076d64fbded9b7487b0a7b088b0ba2 /src/mame/drivers/photoply.c | |
parent | d68164b4c1216ac23354ac3a4634048c2c0e998a (diff) |
added m_maincpu where missing in driver classes that are placed in drivers (nw)
Diffstat (limited to 'src/mame/drivers/photoply.c')
-rw-r--r-- | src/mame/drivers/photoply.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/photoply.c b/src/mame/drivers/photoply.c index 1e6e63641bd..9464b6c3e26 100644 --- a/src/mame/drivers/photoply.c +++ b/src/mame/drivers/photoply.c @@ -26,7 +26,8 @@ class photoply_state : public driver_device { public: photoply_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag) { } + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") { } int m_dma_channel; UINT8 m_dma_offset[2][4]; @@ -58,6 +59,7 @@ public: DECLARE_DRIVER_INIT(photoply); virtual void machine_start(); IRQ_CALLBACK_MEMBER(irq_callback); + required_device<cpu_device> m_maincpu; }; |