From 811529f6a430949bad61d34136798936fe8f8082 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Tue, 10 Jan 2012 23:36:24 -0600 Subject: fix gbz80disasm for multi-byte opcode incrementation hg-commit-id: ad1ae67c5991 --- extras/gbz80disasm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py index 1b0174e2..feec4a4d 100644 --- a/extras/gbz80disasm.py +++ b/extras/gbz80disasm.py @@ -638,8 +638,8 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000): 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] -- cgit v1.2.3