diff options
author | couriersud <couriersud@users.noreply.github.com> | 2022-05-29 18:30:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 02:30:25 +1000 |
commit | 5155e51bbe24d0cc45a84ddb66138f83ff1810cf (patch) | |
tree | 80e3f8bcf6b39c8a06e3a6d6ba59c9f45de1449d /src/devices/machine | |
parent | bfc1c9cd01aeb286357a88259f9bd360ef792348 (diff) |
netlist: static solver work and improve code readability (#9841)
- nltool: Added support for building individual static solver files.
- Added pre-built documentation files for nltool and nlwav.
- plib: Extended typed_version to have patchlevel as well.
- plib: Compile more of ppmf.h with nvcc.
- create_devinc.py: Add include guards to the generated files.
- makefile: Recreate generated files when python code has changed.
- Reduced nld_base.h usage in the core.
- <oved extern template class declarations to where they belong.
- Generally improved code readability and fixed a lot of issues cspell reported.
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/netlist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/netlist.cpp b/src/devices/machine/netlist.cpp index e0023ebb8d4..536d97367b9 100644 --- a/src/devices/machine/netlist.cpp +++ b/src/devices/machine/netlist.cpp @@ -68,7 +68,7 @@ DEFINE_DEVICE_TYPE(NETLIST_STREAM_OUTPUT, netlist_mame_stream_output_device, "nl // Special netlist extension devices .... // ---------------------------------------------------------------------------------------- -extern const plib::dynlib_static_sym nl_static_solver_syms[]; +extern const plib::static_library::symbol nl_static_solver_syms[]; static netlist::netlist_time_ext nltime_from_attotime(attotime t) { @@ -986,7 +986,7 @@ std::unique_ptr<netlist::netlist_state_t> netlist_mame_device::base_validity_che plib::plog_delegate(&validity_logger::log, &logger)); // enable validation mode - lnetlist->set_static_solver_lib(std::make_unique<plib::dynlib_static>(nullptr)); + lnetlist->set_static_solver_lib(std::make_unique<plib::static_library>(nullptr)); common_dev_start(lnetlist.get()); lnetlist->setup().prepare_to_run(); @@ -1034,7 +1034,7 @@ void netlist_mame_device::device_start_common() { m_netlist = std::make_unique<netlist_mame_t>(*this, "netlist"); - m_netlist->set_static_solver_lib(std::make_unique<plib::dynlib_static>(nl_static_solver_syms)); + m_netlist->set_static_solver_lib(std::make_unique<plib::static_library>(nl_static_solver_syms)); if (!machine().options().verbose()) { |