示例#1
0
文件: nl_base.c 项目: vorlenko/mame
ATTR_COLD void netlist_device_t::register_sub(const pstring &name, netlist_device_t &dev)
{
	dev.init(netlist(), this->name() + "." + name);
	// FIXME: subdevices always first inherit the logic family of the parent
	dev.set_logic_family(this->logic_family());
	dev.start_dev();
}
示例#2
0
文件: nl_base.c 项目: tweakoz/vindigo
ATTR_COLD void netlist_device_t::register_sub(netlist_device_t &dev, const pstring &name)
{
	dev.init(netlist(), this->name() + "." + name);
	dev.start_dev();
}