gbz80disasm: include comments on unresolved backward relative jumps

This commit is contained in:
yenatch 2013-05-15 14:49:49 -04:00
parent b38e287409
commit 5521aa5ce0
1 changed files with 2 additions and 1 deletions

View File

@ -718,7 +718,8 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000, include_last_add
byte_labels[target_address]["definition"] = False byte_labels[target_address]["definition"] = False
insertion = line_label2.lower() insertion = line_label2.lower()
include_comment = False if has_outstanding_labels(byte_labels) and all_outstanding_labels_are_reverse(byte_labels, offset):
include_comment = True
elif current_byte == 0x3e: elif current_byte == 0x3e:
last_a_address = rom[offset + 1] last_a_address = rom[offset + 1]