From 9ff288b3adc05bc40e3ca4469a71d6050ab95e38 Mon Sep 17 00:00:00 2001 From: smf- Date: Thu, 10 Nov 2016 09:41:09 +0000 Subject: removed another root_device/driver_device dependency (nw) --- src/emu/devcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/devcb.cpp') diff --git a/src/emu/devcb.cpp b/src/emu/devcb.cpp index d3b89700fe4..2b392ddcb93 100644 --- a/src/emu/devcb.cpp +++ b/src/emu/devcb.cpp @@ -144,7 +144,7 @@ void devcb_read_base::resolve() if (m_space_tag != nullptr) resolve_space(); else - m_space = &downcast(m_device.machine().root_device()).generic_space(); + m_space = &m_device.machine().dummy_space(); // then handle the various types const char *name = "unknown"; @@ -372,7 +372,7 @@ void devcb_write_base::resolve() if (m_space_tag != nullptr) resolve_space(); else - m_space = &downcast(m_device.machine().root_device()).generic_space(); + m_space = &m_device.machine().dummy_space(); // then handle the various types const char *name = "unknown"; -- cgit v1.2.3