summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/lpci/i82439tx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/lpci/i82439tx.cpp')
-rw-r--r--src/devices/bus/lpci/i82439tx.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/devices/bus/lpci/i82439tx.cpp b/src/devices/bus/lpci/i82439tx.cpp
index 778e7f26bad..be768007a0c 100644
--- a/src/devices/bus/lpci/i82439tx.cpp
+++ b/src/devices/bus/lpci/i82439tx.cpp
@@ -21,11 +21,9 @@ DEFINE_DEVICE_TYPE(I82439TX_LEGACY, i82439tx_device, "i82439tx_legacy", "Intel 8
i82439tx_device::i82439tx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
northbridge_device(mconfig, I82439TX_LEGACY, tag, owner, clock),
pci_device_interface(mconfig, *this),
- m_cpu_tag(nullptr),
m_region_tag(nullptr),
m_space(nullptr),
- m_rom(nullptr),
- m_cpu(*this, finder_base::DUMMY_TAG)
+ m_rom(nullptr)
{
m_smram.smiact_n = 1;
}
@@ -443,7 +441,7 @@ void i82439tx_device::device_start()
{
northbridge_device::device_start();
// get address space we are working on
- m_space = &((device_memory_interface *)m_cpu.target())->memory().space(AS_PROGRAM);
+ m_space = &m_cpu->space(AS_PROGRAM);
// get rom region
m_rom = machine().root_device().memregion(m_region_tag)->base();