From 36450e02cd5f99db2fe96db7e18565d32d9cde9b Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 13 Jan 2019 01:42:16 +1100 Subject: [PATCH] finder_base::DUMMY_TAG should be treated as magic (nw) --- src/devices/bus/cpc/cpcexp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/bus/cpc/cpcexp.cpp b/src/devices/bus/cpc/cpcexp.cpp index ab92c31a4df..3f9f04e89ea 100644 --- a/src/devices/bus/cpc/cpcexp.cpp +++ b/src/devices/bus/cpc/cpcexp.cpp @@ -83,7 +83,7 @@ void cpc_expansion_slot_device::device_start() void cpc_expansion_slot_device::device_config_complete() { // for passthrough connectors, use the parent slot's CPU tag - if (strcmp(m_cpu.finder_tag(), finder_base::DUMMY_TAG) == 0 && dynamic_cast(owner()) != nullptr) + if ((m_cpu.finder_tag() == finder_base::DUMMY_TAG) && (dynamic_cast(owner()) != nullptr)) { auto parent = dynamic_cast(owner()->owner()); if (parent != nullptr)