summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/gbz80disasm.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py
index 1f9f7c6c..555013c3 100644
--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -755,6 +755,9 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000):
if label_line["usage"] == 0:
output = output.replace((label_line["name"] + " ; " + hex(address) + "\n").lower(), "")
+ #add the offset of the final location
+ output += "; " + hex(offset)
+
return (output, offset)
def has_outstanding_labels(byte_labels):