mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
Fix parsing of macro devices. (nw)
This commit is contained in:
parent
c57557ac85
commit
424e2d4097
@ -361,7 +361,7 @@ void parser_t::device(const pstring &dev_type)
|
||||
|
||||
pstring devname = get_identifier();
|
||||
|
||||
m_setup.register_dev(dev_type, m_setup.build_fqn(devname));
|
||||
m_setup.register_dev(dev_type, devname);
|
||||
m_setup.log().debug("Parser: IC: {1}\n", devname);
|
||||
|
||||
for (pstring tp : paramlist)
|
||||
|
@ -112,7 +112,7 @@ void setup_t::register_dev(const pstring &classname, const pstring &name)
|
||||
if (f == nullptr)
|
||||
log().fatal("Class {1} not found!\n", classname);
|
||||
/* make sure we parse macro library entries */
|
||||
f->macro_actions(netlist(), build_fqn(name));
|
||||
f->macro_actions(netlist(), name);
|
||||
m_device_factory.push_back(std::pair<pstring, factory::element_t *>(build_fqn(name), f));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user