mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
Always connect to the first element in NET_C. (nw)
This commit is contained in:
parent
a31dfcedb8
commit
5c516aff00
@ -281,11 +281,9 @@ void netlist_setup_t::register_link_arr(const pstring &terms)
|
||||
nl_util::pstring_list list = nl_util::split(terms,", ");
|
||||
if (list.count() < 2)
|
||||
netlist().error("You must pass at least 2 terminals to NET_C");
|
||||
pstring last = list[0];
|
||||
for (int i = 1; i < list.count(); i++)
|
||||
{
|
||||
register_link(last, list[i]);
|
||||
last = list[i];
|
||||
register_link(list[0], list[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user