diff options
author | yenatch <yenatch@gmail.com> | 2013-05-15 14:40:20 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-05-15 14:40:20 -0400 |
commit | b38e2874095266d45df984be778d9fe68832aaac (patch) | |
tree | ff2c5a2f8369ec1a6897eb4f79870e67495eee8d /extras/gbz80disasm.py | |
parent | ffd562351b8d55cb8ff6c613d6ac601cead4341c (diff) |
gbz80disasm: don't look for outstanding labels that are behind the origin
Diffstat (limited to 'extras/gbz80disasm.py')
-rw-r--r-- | extras/gbz80disasm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py index 6e8b91526..a8e468379 100644 --- a/extras/gbz80disasm.py +++ b/extras/gbz80disasm.py @@ -799,7 +799,7 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000, include_last_add #stop reading at a jump, relative jump or return if current_byte in end_08_scripts_with: - if not has_outstanding_labels(byte_labels) and all_outstanding_labels_are_reverse(byte_labels, offset): + if not has_outstanding_labels(byte_labels) or all_outstanding_labels_are_reverse(byte_labels, offset): keep_reading = False is_data = False #cleanup break |