summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/seicopbl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/seicopbl.cpp')
-rw-r--r--src/mame/machine/seicopbl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/seicopbl.cpp b/src/mame/machine/seicopbl.cpp
index 8489b669723..b6db3793117 100644
--- a/src/mame/machine/seicopbl.cpp
+++ b/src/mame/machine/seicopbl.cpp
@@ -405,8 +405,9 @@ void seibu_cop_bootleg_device::seibucopbl_map(address_map &map)
seibu_cop_bootleg_device::seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, SEIBU_COP_BOOTLEG, tag, owner, clock),
- device_memory_interface(mconfig, *this),
- m_space_config("regs", ENDIANNESS_BIG, 16, 9, 0, address_map_constructor(), address_map_constructor(FUNC(seibu_cop_bootleg_device::seibucopbl_map), this))
+ device_memory_interface(mconfig, *this),
+ m_host_cpu(*this, finder_base::DUMMY_TAG),
+ m_space_config("regs", ENDIANNESS_BIG, 16, 9, 0, address_map_constructor(), address_map_constructor(FUNC(seibu_cop_bootleg_device::seibucopbl_map), this))
{
}
@@ -435,7 +436,6 @@ void seibu_cop_bootleg_device::device_start()
void seibu_cop_bootleg_device::device_reset()
{
- m_host_cpu = machine().device<cpu_device>("maincpu");
m_host_space = &m_host_cpu->space(AS_PROGRAM);
}