summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/devices/nld_system.cpp')
-rw-r--r--src/lib/netlist/devices/nld_system.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/netlist/devices/nld_system.cpp b/src/lib/netlist/devices/nld_system.cpp
index 836e744fc6a..16bc759ee94 100644
--- a/src/lib/netlist/devices/nld_system.cpp
+++ b/src/lib/netlist/devices/nld_system.cpp
@@ -91,6 +91,11 @@ namespace netlist
// nld_res_sw
// -----------------------------------------------------------------------------
+ NETLIB_RESET(res_sw)
+ {
+ m_last_state = 0;
+ m_R.set_R(m_ROFF());
+ }
NETLIB_UPDATE(res_sw)
{