summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-11 00:07:48 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-11 00:07:48 -0600
commit632317bd1a287d912f8d596db4a1207fcec64bec (patch)
treeede9dd637f52bbc7d27be2e4c94db325b751e073
parentcdfdfb33376678e91815b7a2fe1e7b648190b2b6 (diff)
parente95b8f1984449853b2c836d0142d1679728dc94a (diff)
Merge.
hg-commit-id: ffd75513dbdc
-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):