mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
netlist: prepare path to non-virtual update functions. (nw)
This commit is contained in:
parent
ec0f62d789
commit
773a23f503
@ -18,10 +18,6 @@
|
|||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------------------
|
|
||||||
// Statically compiled solvers for mame netlist
|
|
||||||
// ----------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace netlist
|
namespace netlist
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -942,6 +942,10 @@ namespace netlist
|
|||||||
logic_input_t(device_t &dev, const pstring &aname,
|
logic_input_t(device_t &dev, const pstring &aname,
|
||||||
nldelegate delegate = nldelegate());
|
nldelegate delegate = nldelegate());
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
template <class D>
|
||||||
|
logic_input_t(D &dev, const pstring &aname);
|
||||||
|
#endif
|
||||||
inline netlist_sig_t operator()() const noexcept;
|
inline netlist_sig_t operator()() const noexcept;
|
||||||
|
|
||||||
void inactivate() noexcept;
|
void inactivate() noexcept;
|
||||||
@ -2196,6 +2200,17 @@ namespace netlist
|
|||||||
// Any changes below will impact performance.
|
// 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
|
inline void logic_input_t::inactivate() noexcept
|
||||||
{
|
{
|
||||||
if (!is_state(STATE_INP_PASSIVE))
|
if (!is_state(STATE_INP_PASSIVE))
|
||||||
|
Loading…
Reference in New Issue
Block a user