From ff240e21df2dd2aa7b92747ffefa84c7931b6aea Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 28 Apr 2018 15:26:55 +0300 Subject: [PATCH] Fix typos. --- newcpu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newcpu.cpp b/newcpu.cpp index ed06e9be..6d84fee4 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -7704,7 +7704,7 @@ void m68k_disasm_2 (TCHAR *buf, int bufsize, uaecptr pc, uaecptr *nextpc, int cn } } // show target address if JSR x(pc) + JMP xxxx combination - if (opcode == 0x4eba && seaddr2 && instrname) { // JSR x(pc) + if (opcode == 0x4eba && seaddr2 && instrname[0]) { // JSR x(pc) resolve_if_jmp(instrname, seaddr2); } } @@ -7760,7 +7760,7 @@ void m68k_disasm_2 (TCHAR *buf, int bufsize, uaecptr pc, uaecptr *nextpc, int cn memcpy(symbolpos, segout, _tcslen(segout) * sizeof(TCHAR)); bufsize -= _tcslen(segout); buf += _tcslen(segout); - symbolpos += _tclen(segout); + symbolpos += _tcslen(segout); } } } -- 2.47.3