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 | 1a3cfd3dda3d3aae87d1a003c8740a01fbee1977 (patch) | |
tree | 4ea13d849731f08bda904e1810fd75e881a9d873 /gbz80disasm.py | |
parent | 736815507503d858cfc3a713b8e86e591c08e5ca (diff) |
gbz80disasm: don't look for outstanding labels that are behind the origin
original-commit-id: b38e2874095266d45df984be778d9fe68832aaac
Diffstat (limited to 'gbz80disasm.py')
-rw-r--r-- | gbz80disasm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbz80disasm.py b/gbz80disasm.py index 6e8b915..a8e4683 100644 --- a/gbz80disasm.py +++ b/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 |