summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.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/debug/debugcmd.cpp
parent3ac6d70be07a146be55661e93eb9eb239b9a8c2e (diff)
Kludge some absolute tag lookups in the core that can't really be helped (nw)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index 3b38f536ef4..c0ef82c8d36 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -441,7 +441,7 @@ bool debugger_commands::validate_cpu_parameter(const char *param, device_t *&res
}
/* first look for a tag match */
- result = m_machine.device(param);
+ result = m_machine.root_device().subdevice(param);
if (result)
return true;