From 43637964a2389cfe6288facc09cd7faaf612d4f4 Mon Sep 17 00:00:00 2001 From: couriersud Date: Wed, 13 Nov 2019 19:29:51 +0100 Subject: 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. --- src/lib/netlist/plib/ptokenizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/netlist/plib/ptokenizer.cpp') 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; } -- cgit v1.2.3-70-g09d2