summaryrefslogtreecommitdiff
path: root/extras/gbz80disasm.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-10 01:40:34 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-10 01:40:34 -0600
commitb36fbc72f34d68d9279d753429715fde72cb6d21 (patch)
tree84fe58f6761044d2d2f58213558ec94d5b41e2f4 /extras/gbz80disasm.py
parent4c59064f9f65eabbf72c247d78d5607ce1b5409f (diff)
fix extra whitespace from gbz80disasm
hg-commit-id: a244eb0b11fd
Diffstat (limited to 'extras/gbz80disasm.py')
-rw-r--r--extras/gbz80disasm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py
index c9f9602e..76eaab36 100644
--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -586,7 +586,7 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000):
opstr = copy(opt_table[temp_maybe][0])
output += spacing + opstr #+ " ; " + hex(offset)
- output += spacing + "\n"
+ output += "\n"
current_byte_number += 2
offset += 2
@@ -653,7 +653,7 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000):
opstr = opstr[:opstr.find("?")] + insertion + opstr[opstr.find("?")+1:]
output += spacing + opstr #+ " ; " + hex(offset)
- output += spacing + "\n"
+ output += "\n"
current_byte_number += 2
offset += 2
@@ -678,7 +678,7 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000):
if is_data and keep_reading:
output += spacing + "db $" + hex(ord(rom[offset+1]))[2:] #+ " ; " + hex(offset)
- output += spacing + "\n"
+ output += "\n"
#else the while loop would have spit out the opcode
#these two are done prior