summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/devices/bus/rc2014/rc2014.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bus/rc2014/rc2014.cpp b/src/devices/bus/rc2014/rc2014.cpp
index 5617162e2f1..afe6ba6172a 100644
--- a/src/devices/bus/rc2014/rc2014.cpp
+++ b/src/devices/bus/rc2014/rc2014.cpp
@@ -59,7 +59,8 @@ void rc2014_bus_device::device_start()
void rc2014_bus_device::device_reset()
{
- installer(AS_IO)->unmap_readwrite(0, (1 << installer(AS_IO)->space_config().addr_width()) - 1);
+ if (m_installer[AS_IO])
+ installer(AS_IO)->unmap_readwrite(0, (1 << installer(AS_IO)->space_config().addr_width()) - 1);
}
void rc2014_bus_device::set_bus_clock(u32 clock)