diff options
author | 2019-11-13 19:29:51 +0100 | |
---|---|---|
committer | 2019-11-13 19:29:51 +0100 | |
commit | 43637964a2389cfe6288facc09cd7faaf612d4f4 (patch) | |
tree | cf5de04c493bd0c73d2ad7f1e74291484f52085e /src/lib/netlist/plib/ptokenizer.cpp | |
parent | e00549bcec3b0683038259f61eec01667d4ce786 (diff) |
netlist: bug fix, code maintenance and performance improvement. (nw)
- fixed a code in the netlist creation which caused multiple proxies
to be created for output->terminal connections. A nice side effect of
this fix is a performance increase ~9% for kidniki and ~4% for pong.
Speaking about pong ... maximum is 490%. Dice is running at
280 FPS/60 FPS = 466%, however without any analog emulation.
- Replaced NL_NOEXCEPT with noexcept. assert is now exception-free.
- cppcheck and lint fixes.
Diffstat (limited to 'src/lib/netlist/plib/ptokenizer.cpp')
-rw-r--r-- | src/lib/netlist/plib/ptokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/ptokenizer.cpp b/src/lib/netlist/plib/ptokenizer.cpp index 23d0903ae2a..95b63f7f161 100644 --- a/src/lib/netlist/plib/ptokenizer.cpp +++ b/src/lib/netlist/plib/ptokenizer.cpp @@ -12,7 +12,7 @@ namespace plib { // A simple tokenizer // ---------------------------------------------------------------------------------------- - pstring ptokenizer::currentline_str() + pstring ptokenizer::currentline_str() const { return m_cur_line; } |