shithub: pokered

Download patch

ref: 811529f6a430949bad61d34136798936fe8f8082
parent: 5105065c72f557e01d8399ea49f86ba326555427
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Jan 10 18:36:24 EST 2012

fix gbz80disasm for multi-byte opcode incrementation

hg-commit-id: ad1ae67c5991


--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -638,8 +638,8 @@
             output += spacing + opstr #+ " ; " + hex(offset)
             output += "\n"
 
-            current_byte_number += 1
-            offset += 1 
+            current_byte_number += 2
+            offset += 2
         elif maybe_byte in opt_table.keys():
             op_code = opt_table[maybe_byte]
             op_code_type = op_code[1]