diff options
author | couriersud <couriersud@gmx.org> | 2019-10-30 19:10:40 +0100 |
---|---|---|
committer | couriersud <couriersud@gmx.org> | 2019-10-30 19:10:40 +0100 |
commit | beab34006a43ba74d462fe85e68d8d41b3c3c0a4 (patch) | |
tree | 0391ed56a6f2ba8dedc0ec6e43b63b0e45817748 /src/devices/machine/netlist.cpp | |
parent | 3ff1066d43af2fd1160e7da23ed1b46de5c9407a (diff) |
netlist: code maintenance. (nw)
Simplification, remove some trampolines.
Diffstat (limited to 'src/devices/machine/netlist.cpp')
-rw-r--r-- | src/devices/machine/netlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/netlist.cpp b/src/devices/machine/netlist.cpp index e94b4517890..fcf94d6e3f7 100644 --- a/src/devices/machine/netlist.cpp +++ b/src/devices/machine/netlist.cpp @@ -522,7 +522,7 @@ public: if (i != m_num_channels) state().log().fatal("sound input numbering has to be sequential!"); m_num_channels++; - m_channels[i].m_param = dynamic_cast<netlist::param_double_t *>(setup().find_param((*m_channels[i].m_param_name)(), true)); + m_channels[i].m_param = dynamic_cast<netlist::param_double_t *>(state().setup().find_param((*m_channels[i].m_param_name)(), true)); } } } |