summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-06-08 03:12:03 +0200
committer couriersud <couriersud@gmx.org>2020-06-08 03:12:03 +0200
commit773a23f50327059348c37e223df43208fa7a9bb4 (patch)
treea6fe8538b9233c006e92e2e39a3e91c5f3f38aac
parentec0f62d7899c762978670329bec973e1d808a461 (diff)
netlist: prepare path to non-virtual update functions. (nw)
-rw-r--r--src/lib/netlist/nl_base.cpp4
-rw-r--r--src/lib/netlist/nl_base.h15
2 files changed, 15 insertions, 4 deletions
diff --git a/src/lib/netlist/nl_base.cpp b/src/lib/netlist/nl_base.cpp
index 532e23149c3..b09c60b901a 100644
--- a/src/lib/netlist/nl_base.cpp
+++ b/src/lib/netlist/nl_base.cpp
@@ -18,10 +18,6 @@
#include <limits>
-// ----------------------------------------------------------------------------------------
-// Statically compiled solvers for mame netlist
-// ----------------------------------------------------------------------------------------
-
namespace netlist
{
diff --git a/src/lib/netlist/nl_base.h b/src/lib/netlist/nl_base.h
index f5ac1c4408b..7597989d71b 100644
--- a/src/lib/netlist/nl_base.h
+++ b/src/lib/netlist/nl_base.h
@@ -942,6 +942,10 @@ namespace netlist
logic_input_t(device_t &dev, const pstring &aname,
nldelegate delegate = nldelegate());
+#if 0
+ template <class D>
+ logic_input_t(D &dev, const pstring &aname);
+#endif
inline netlist_sig_t operator()() const noexcept;
void inactivate() noexcept;
@@ -2196,6 +2200,17 @@ namespace netlist
// Any changes below will impact performance.
// -----------------------------------------------------------------------------
+ // -----------------------------------------------------------------------------
+ // logic_input_t
+ // -----------------------------------------------------------------------------
+
+#if 0
+ template <class D>
+ logic_input_t::logic_input_t(D &dev, const pstring &aname)
+ : logic_input_t(dev, aname, STATE_INP_ACTIVE, nldelegate(&D :: update, &dev))
+ {
+ }
+#endif
inline void logic_input_t::inactivate() noexcept
{
if (!is_state(STATE_INP_PASSIVE))