summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nl_setup.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-10-13 16:45:03 +0200
committer couriersud <couriersud@gmx.org>2019-10-13 16:45:30 +0200
commita89b7d194d77cacfe73dd1936c3db68c52ba0b36 (patch)
treed6463bf9ef1417f470227660bb9a4c3a98482524 /src/lib/netlist/nl_setup.h
parent3812869c54c98505f08d88c54c430eb93991b8bf (diff)
netlist: mame netlist reorganization. [Couriersud]
- moved netlists out of driver code into audio/ or machine/ as nl_xxx.cpp files. - identified and documented extended validation - updated arcade, mess and nl targets
Diffstat (limited to 'src/lib/netlist/nl_setup.h')
-rw-r--r--src/lib/netlist/nl_setup.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/netlist/nl_setup.h b/src/lib/netlist/nl_setup.h
index 318720c7a06..977732623b9 100644
--- a/src/lib/netlist/nl_setup.h
+++ b/src/lib/netlist/nl_setup.h
@@ -393,8 +393,15 @@ namespace netlist
/* validation */
- void enable_validation() { m_validation = true; }
- bool is_validation() const { return m_validation; }
+ /* The extended validation mode is not intended for running.
+ * The intention is to identify power pins which are not properly
+ * connected. The downside is that this mode creates a netlist which
+ * is different (and not able to run).
+ *
+ * Extended validation is supported by nltool validate option.
+ */
+ void set_extended_validation(bool val) { m_validation = val; }
+ bool is_extended_validation() const { return m_validation; }
private:
void merge_nets(detail::net_t &thisnet, detail::net_t &othernet);