diff options
Diffstat (limited to 'src/mame/drivers/gamtor.c')
-rw-r--r-- | src/mame/drivers/gamtor.c | 4 |
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) |