summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_setup.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@users.noreply.github.com>2022-05-15 12:03:54 +0200
committer GitHub <noreply@github.com>2022-05-15 20:03:54 +1000
commit74728bc4d42ba21de9a58ad0442a413575e7e357 (patch)
tree93a3cfa14368fb9791bd94922d83d78a2105998b /src/lib/netlist/nl_setup.cpp
parent3da1e6f2b799e0896de9b08883b841f5921ae64b (diff)
netlist: Improved PPMF target support and test coverage. (#9752)
This addresses most of the issues described in #8590. * Fixed standalone Visual Studio 2019 builds, including support for clang toolchain. * Added static stub to PMF to support MSVC ABI. * Better aligned ppmf syntax with MAME's delegate syntax. * Add tests/test_ppmf*.cpp testing examples given in #8590. Also worked around issues some versions of Apple clang have with 5aaae19230bd39dda6766641672f57276a3f9ea1.
Diffstat (limited to 'src/lib/netlist/nl_setup.cpp')
-rw-r--r--src/lib/netlist/nl_setup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/nl_setup.cpp b/src/lib/netlist/nl_setup.cpp
index 311251ec6d6..6ccc5fdc86a 100644
--- a/src/lib/netlist/nl_setup.cpp
+++ b/src/lib/netlist/nl_setup.cpp
@@ -1685,7 +1685,7 @@ void setup_t::prepare_to_run()
for (auto &n : m_nlstate.nets())
{
for (auto & term : m_nlstate.core_terms(*n))
- if (!term->delegate())
+ if (term->delegate().isnull())
{
log().fatal(MF_DELEGATE_NOT_SET_1(term->name()));
throw nl_exception(MF_DELEGATE_NOT_SET_1(term->name()));