mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
finder_base::DUMMY_TAG should be treated as magic (nw)
This commit is contained in:
parent
cc659c222f
commit
36450e02cd
@ -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<device_cpc_expansion_card_interface *>(owner()) != nullptr)
|
||||
if ((m_cpu.finder_tag() == finder_base::DUMMY_TAG) && (dynamic_cast<device_cpc_expansion_card_interface *>(owner()) != nullptr))
|
||||
{
|
||||
auto parent = dynamic_cast<cpc_expansion_slot_device *>(owner()->owner());
|
||||
if (parent != nullptr)
|
||||
|
Loading…
Reference in New Issue
Block a user