removed another root_device/driver_device dependency (nw)

This commit is contained in:
smf- 2016-11-10 09:41:09 +00:00
parent 9c364cdfa9
commit 9ff288b3ad

View File

@ -144,7 +144,7 @@ void devcb_read_base::resolve()
if (m_space_tag != nullptr)
resolve_space();
else
m_space = &downcast<driver_device &>(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<driver_device &>(m_device.machine().root_device()).generic_space();
m_space = &m_device.machine().dummy_space();
// then handle the various types
const char *name = "unknown";