Merge pull request #6 from ksherlock/patch_9

fix +D -F disassemble bug
This commit is contained in:
MikeW50 2018-03-25 15:25:08 -06:00 committed by GitHub
commit 1eec4a2aa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2349,7 +2349,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))