diff options
author | 2019-10-13 16:45:03 +0200 | |
---|---|---|
committer | 2019-10-13 16:45:30 +0200 | |
commit | a89b7d194d77cacfe73dd1936c3db68c52ba0b36 (patch) | |
tree | d6463bf9ef1417f470227660bb9a4c3a98482524 /src/lib/netlist/nl_parser.cpp | |
parent | 3812869c54c98505f08d88c54c430eb93991b8bf (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_parser.cpp')
-rw-r--r-- | src/lib/netlist/nl_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/nl_parser.cpp b/src/lib/netlist/nl_parser.cpp index 8816cba95aa..c0cf595119c 100644 --- a/src/lib/netlist/nl_parser.cpp +++ b/src/lib/netlist/nl_parser.cpp @@ -413,8 +413,8 @@ void parser_t::device(const pstring &dev_type) nl_double parser_t::eval_param(const token_t &tok) { - static std::array<pstring, 6> macs = {"", "RES_K", "RES_M", "CAP_U", "CAP_N", "CAP_P"}; - static std::array<nl_double, 6> facs = {1, 1e3, 1e6, 1e-6, 1e-9, 1e-12}; + static std::array<pstring, 7> macs = {"", "RES_R", "RES_K", "RES_M", "CAP_U", "CAP_N", "CAP_P"}; + static std::array<nl_double, 7> facs = {1, 1, 1e3, 1e6, 1e-6, 1e-9, 1e-12}; std::size_t f=0; nl_double ret(0); |