fix MapEventHeader asm formatting

This commit is contained in:
Bryan Bishop 2012-04-21 23:46:58 -05:00
parent c33c15befb
commit c8b4c3203c

View File

@ -4217,6 +4217,7 @@ def to_asm(some_object):
asmr = some_object.to_asm() asmr = some_object.to_asm()
asmr = asmr.replace("\n", "\n"+spacing) asmr = asmr.replace("\n", "\n"+spacing)
asmr = asmr.replace("\n"+spacing+"\n", "\n\n"+spacing) asmr = asmr.replace("\n"+spacing+"\n", "\n\n"+spacing)
asmr = asmr.replace("\n\n"+spacing+spacing, "\n\n"+spacing)
asm += spacing + asmr asm += spacing + asmr
#show the address of the next byte below this #show the address of the next byte below this
asm += "\n; " + hex(last_address) + "\n" asm += "\n; " + hex(last_address) + "\n"