summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mapledev.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/mapledev.cpp')
-rw-r--r--src/mame/machine/mapledev.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mame/machine/mapledev.cpp b/src/mame/machine/mapledev.cpp
index 3ff8c096990..4279f21eb71 100644
--- a/src/mame/machine/mapledev.cpp
+++ b/src/mame/machine/mapledev.cpp
@@ -2,18 +2,16 @@
// copyright-holders:Olivier Galibert
#include "emu.h"
#include "mapledev.h"
-#include "maple-dc.h"
maple_device::maple_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, type, tag, owner, clock)
+, host(*this, finder_base::DUMMY_TAG)
{
- host_tag = nullptr;
host_port = 0;
}
void maple_device::device_start()
{
- host = machine().device<maple_dc_device>(host_tag);
host->register_port(host_port, this);
timer = timer_alloc(TIMER_ID);