mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Forgot this one. (nw)
This commit is contained in:
parent
f73eca0c7f
commit
8611a7da2e
@ -1369,10 +1369,11 @@ namespace netlist
|
|||||||
{
|
{
|
||||||
const char *p[N];
|
const char *p[N];
|
||||||
};
|
};
|
||||||
object_array_t(core_device_t &dev, init names)
|
template<typename... Args>
|
||||||
|
object_array_t(core_device_t &dev, init names, Args&&... args)
|
||||||
{
|
{
|
||||||
for (std::size_t i = 0; i<N; i++)
|
for (std::size_t i = 0; i<N; i++)
|
||||||
this->emplace(i, dev, pstring(names.p[i]));
|
this->emplace(i, dev, pstring(names.p[i]), std::forward<Args>(args)...);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user