mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
mconfig: allow sub-mcfg to unset perfect quantum
This commit is contained in:
parent
0e686a5ce8
commit
ba493adcfa
@ -404,6 +404,6 @@ void machine_config::set_perfect_quantum(device_t &device, std::string tag)
|
||||
m_current_device->tag());
|
||||
}
|
||||
|
||||
m_perfect_quantum_device.first = &device;
|
||||
m_perfect_quantum_device.first = tag.empty() ? nullptr : &device;
|
||||
m_perfect_quantum_device.second = std::move(tag);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user