summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/devcb.cpp')
-rw-r--r--src/emu/devcb.cpp4
1 files changed, 2 insertions, 2 deletions
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<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";