fix bad placement of MapScriptHeader_0x70000 in asm

This commit is contained in:
Bryan Bishop 2012-04-25 14:05:51 -05:00
parent 9a81918392
commit ff4c37eb2b
1 changed files with 1 additions and 1 deletions

View File

@ -4609,7 +4609,7 @@ class Asm:
if isinstance(object, AsmSection):
continue
#replace an incbin with three incbins, replace middle incbin with whatever
elif isinstance(object, Incbin) and (object.address <= start_address <= object.last_address):
elif isinstance(object, Incbin) and (object.address <= start_address < object.last_address):
#split up the incbin into three segments
incbins = object.split(start_address, end_address - start_address)
#figure out which incbin to replace with the new object