summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gamtor.c
diff options
context:
space:
mode:
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
commit9be192b9a41faf1f4f9d9b719440440d88671887 (patch)
treece9ccd90a2076d64fbded9b7487b0a7b088b0ba2 /src/mame/drivers/gamtor.c
parentd68164b4c1216ac23354ac3a4634048c2c0e998a (diff)
added m_maincpu where missing in driver classes that are placed in drivers (nw)
Diffstat (limited to 'src/mame/drivers/gamtor.c')
-rw-r--r--src/mame/drivers/gamtor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/gamtor.c b/src/mame/drivers/gamtor.c
index 6b66239baa6..49fc9adca1b 100644
--- a/src/mame/drivers/gamtor.c
+++ b/src/mame/drivers/gamtor.c
@@ -32,10 +32,12 @@ class gaminator_state : public driver_device
{
public:
gaminator_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") { }
DECLARE_WRITE32_MEMBER(gamtor_unk_w);
DECLARE_DRIVER_INIT(gaminator);
+ required_device<cpu_device> m_maincpu;
};
WRITE32_MEMBER(gaminator_state::gamtor_unk_w)