remove duplicate incbins in asm output

This commit is contained in:
Bryan Bishop 2012-04-22 15:13:32 -05:00
parent c1cbb74ae8
commit 2de204cdb5

View File

@ -4619,7 +4619,7 @@ class Asm:
incbins[index] = new_object incbins[index] = new_object
#insert these incbins into self.parts #insert these incbins into self.parts
gindex = self.parts.index(object) gindex = self.parts.index(object)
self.parts = self.parts[:gindex] + incbins + self.parts[gindex:] self.parts = self.parts[:gindex] + incbins + self.parts[gindex+1:]
found = True found = True
break break
#insert before the current object #insert before the current object