shithub: pokered

Download patch

ref: 76c0308b5a176509c481724b8ac58f265b7db323
parent: 4f0571f06717bfef1b6b5a3fab4d782a80b3d920
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Jan 3 10:50:55 EST 2012

fix final interval in generated incbins

hg-commit-id: 38e1356814c2


--- a/extras/analyze_incbins.py
+++ b/extras/analyze_incbins.py
@@ -115,6 +115,7 @@
     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"