summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcb.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-11-10 09:41:09 +0000
committer smf- <smf-@users.noreply.github.com>2016-11-10 14:32:51 +0000
commit9ff288b3adc05bc40e3ca4469a71d6050ab95e38 (patch)
treede46ec5fe8d3fe65af2cde4ee4413249abdd6950 /src/emu/devcb.cpp
parent9c364cdfa97a16272155fa0e07b537fef3bed915 (diff)
removed another root_device/driver_device dependency (nw)
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";