mirror of
https://github.com/holub/mame
synced 2025-07-12 05:03:56 +03:00
Ensure validation of device tags in non-default slot options
This commit is contained in:
parent
1eb4981acb
commit
136211614e
@ -40,7 +40,7 @@ namespace
|
||||
: device_t(mconfig, COCO_SYM12, tag, owner, clock)
|
||||
, device_cococart_interface(mconfig, *this)
|
||||
, m_pia(*this, "s12_pia")
|
||||
, m_ay8910(*this, "s12_ay8910-%u", 1)
|
||||
, m_ay8910(*this, "s12_ay8910.%u", 1)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -410,8 +410,8 @@ spectrum_betacbi_device::spectrum_betacbi_device(const machine_config &mconfig,
|
||||
|
||||
spectrum_gamma_device::spectrum_gamma_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
|
||||
: spectrum_betaplus_device(mconfig, type, tag, owner, clock)
|
||||
, m_ppi(*this, "PPI")
|
||||
, m_acia(*this, "ACIA")
|
||||
, m_ppi(*this, "ppi")
|
||||
, m_acia(*this, "acia")
|
||||
, m_centronics(*this, "centronics")
|
||||
, m_centronics_busy(0)
|
||||
{
|
||||
|
@ -2087,6 +2087,7 @@ void validity_checker::validate_devices(machine_config &config)
|
||||
{
|
||||
m_current_device = &card_dev;
|
||||
card_dev.findit(this);
|
||||
validate_tag(card_dev.basetag());
|
||||
card_dev.validity_check(*this);
|
||||
m_current_device = nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user