summaryrefslogtreecommitdiffstats
path: root/src/lib/netlist/devices/nld_system.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-09-25 21:44:39 +0200
committer couriersud <couriersud@gmx.org>2020-09-25 21:44:54 +0200
commit15ea16e1497bcd28168f5c8ba2e53d3a8da8350c (patch)
treece7cc28d5d0a6034e60292691c5f97276e11a353 /src/lib/netlist/devices/nld_system.cpp
parentdcc2781365cc194fbbd0383269bc1399f48de18a (diff)
netlist: minor code cleanup.
* a number of minor fixes leading to an increase of 570% to 588% on pongf. * admittedly micro optimization. * Includes some comments why certain decisions have been taken.
Diffstat (limited to 'src/lib/netlist/devices/nld_system.cpp')
-rw-r--r--src/lib/netlist/devices/nld_system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/devices/nld_system.cpp b/src/lib/netlist/devices/nld_system.cpp
index c3f4cd5d270..36ae9bc6e35 100644
--- a/src/lib/netlist/devices/nld_system.cpp
+++ b/src/lib/netlist/devices/nld_system.cpp
@@ -62,7 +62,7 @@ namespace devices
NETLIB_RESETI()
{
m_cnt = 0;
- m_off = netlist_time::from_fp<decltype(m_offset())>(m_offset());
+ m_off = netlist_time::from_fp<param_fp_t::value_type>(m_offset());
m_feedback.set_delegate(NETLIB_DELEGATE(first));
}
//NETLIB_UPDATE_PARAMI();