summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_system.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-01-12 17:16:25 +0100
committer couriersud <couriersud@gmx.org>2020-01-12 17:16:25 +0100
commit9d7cbcaa4006f7c6dea32fdf29b2c8cce094b895 (patch)
tree918d2ca6d325e21599a39d00bc4d08f709704230 /src/lib/netlist/devices/nld_system.cpp
parent07f26f8e066d20acc39517ffc9ba65619981f757 (diff)
netlist: Code maintenance. (nw)
Introduce an additional absolute time type netlist_time_ext to identify whether absolute or relative time is used in the netlist code. Extend ptime code to allow operations between ptime derived types with different internal types. In addition rewrote main queue serve loops. Adds a very small performance increase.
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 b4483b84ad7..8d8b090c5d0 100644
--- a/src/lib/netlist/devices/nld_system.cpp
+++ b/src/lib/netlist/devices/nld_system.cpp
@@ -47,7 +47,7 @@ namespace devices
NETLIB_UPDATE(extclock)
{
- m_Q.push((m_cnt & 1) ^ 1, m_inc[m_cnt] + m_off);
+ m_Q.push((m_cnt & 1) ^ 1, m_inc[m_cnt] + m_off());
m_off = netlist_time::zero();
if (++m_cnt >= m_size)
m_cnt = 0;