diff options
| author | Bryan Bishop <kanzure@gmail.com> | 2012-01-10 23:36:24 -0600 |
|---|---|---|
| committer | Bryan Bishop <kanzure@gmail.com> | 2012-01-10 23:36:24 -0600 |
| commit | 811529f6a430949bad61d34136798936fe8f8082 (patch) | |
| tree | e8ddb49a26b8aa077f55f0362e6a3757f6f45d49 | |
| parent | gbz80disasm stops at all unconditional jumps unless there's a missing label (diff) | |
| download | pokeyellow-811529f6a430949bad61d34136798936fe8f8082.tar.gz pokeyellow-811529f6a430949bad61d34136798936fe8f8082.tar.xz pokeyellow-811529f6a430949bad61d34136798936fe8f8082.zip | |
fix gbz80disasm for multi-byte opcode incrementation
hg-commit-id: ad1ae67c5991
| -rw-r--r-- | extras/gbz80disasm.py | 4 |
1 files 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] |
