diff options
Diffstat (limited to 'src/devices/bus/cpc/cpcexp.cpp')
-rw-r--r-- | src/devices/bus/cpc/cpcexp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/cpc/cpcexp.cpp b/src/devices/bus/cpc/cpcexp.cpp index 3f9f04e89ea..ab92c31a4df 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 ((m_cpu.finder_tag() == finder_base::DUMMY_TAG) && (dynamic_cast<device_cpc_expansion_card_interface *>(owner()) != nullptr)) + if (strcmp(m_cpu.finder_tag(), finder_base::DUMMY_TAG) == 0 && dynamic_cast<device_cpc_expansion_card_interface *>(owner()) != nullptr) { auto parent = dynamic_cast<cpc_expansion_slot_device *>(owner()->owner()); if (parent != nullptr) |