summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i82439tx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/i82439tx.cpp')
-rw-r--r--src/devices/machine/i82439tx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/devices/machine/i82439tx.cpp b/src/devices/machine/i82439tx.cpp
index f8c1c9a8bb3..9196f8f7f4d 100644
--- a/src/devices/machine/i82439tx.cpp
+++ b/src/devices/machine/i82439tx.cpp
@@ -37,8 +37,7 @@ void i82439tx_host_device::set_ram_size(int _ram_size)
void i82439tx_host_device::device_start()
{
pci_host_device::device_start();
- memory_space = &cpu->space(AS_PROGRAM);
- io_space = &cpu->space(AS_IO);
+ set_spaces(&cpu->space(AS_PROGRAM), &cpu->space(AS_IO));
memory_window_start = 0;
memory_window_end = 0xffffffff;