fix +D -F disassemble bug

This commit is contained in:
Kelvin Sherlock 2015-06-15 20:24:29 -04:00
parent ebab9328f6
commit a5aaff7df2
1 changed files with 1 additions and 1 deletions

View File

@ -2335,7 +2335,7 @@ while (NextSeg()) {
while (count <= mark) {
PutCTPC();
GetOpCode();
if (checkf && ((pc > codelen) || ((! opcode) && (pc == codelen))))
if ((checkf || header) && ((pc > codelen) || ((! opcode) && (pc == codelen))))
break;
if (((kind & 0x001F) == 1) && checkf
&& (opcode < OPALIGN) && (opcode != 0))