fix final interval in generated incbins

hg-commit-id: 38e1356814c2
This commit is contained in:
Bryan Bishop 2012-01-03 15:50:55 -06:00
parent 4f0571f067
commit 76c0308b5a

View file

@ -115,6 +115,7 @@ def split_incbin_line_into_three(line, start_address, byte_count):
third = (start_address + byte_count, end - (start_address + byte_count))
output = ""
print "third end is: " + str(third[1])
if first:
output += "INCBIN \"baserom.gbc\",$" + hex(first[0])[2:] + ",$" + hex(first[1])[2:] + " - $" + hex(first[2])[2:] + "\n"