summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/schedule.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-21 01:10:24 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-21 01:10:27 -0400
commit49f354d5449432d449dd22f8455776a8ca8f4842 (patch)
tree0a0ac56f0dd4ec5a75d4fba5f6393290a2459717 /src/emu/schedule.cpp
parent3ac6d70be07a146be55661e93eb9eb239b9a8c2e (diff)
Kludge some absolute tag lookups in the core that can't really be helped (nw)
Diffstat (limited to 'src/emu/schedule.cpp')
-rw-r--r--src/emu/schedule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/schedule.cpp b/src/emu/schedule.cpp
index 42552f5f5de..d281446d6c6 100644
--- a/src/emu/schedule.cpp
+++ b/src/emu/schedule.cpp
@@ -762,7 +762,7 @@ void device_scheduler::rebuild_execute_list()
// if the configuration specifies a device to make perfect, pick that as the minimum
if (!machine().config().m_perfect_cpu_quantum.empty())
{
- device_t *device = machine().device(machine().config().m_perfect_cpu_quantum.c_str());
+ device_t *device = machine().root_device().subdevice(machine().config().m_perfect_cpu_quantum.c_str());
if (device == nullptr)
fatalerror("Device '%s' specified for perfect interleave is not present!\n", machine().config().m_perfect_cpu_quantum.c_str());