summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2022-06-08 07:55:14 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2022-06-08 07:55:14 +0200
commita047d1efc299079502ad9212e12b9a1155dccba3 (patch)
tree278fca53e8a061fc7e74ed092ab5d6079087a11c
parent52e0f9a5e50003623904085e4d7a4dbe19000731 (diff)
rc2014: enable user to start from empty backplane configuration
-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)