From a047d1efc299079502ad9212e12b9a1155dccba3 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 8 Jun 2022 07:55:14 +0200 Subject: [PATCH] rc2014: enable user to start from empty backplane configuration --- src/devices/bus/rc2014/rc2014.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)