From 3270d8a5f90394eac04dffaadd14a23b5ad951c9 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 22 Apr 2012 15:13:32 -0500 Subject: remove duplicate incbins in asm output original-commit-id: 2de204cdb5a24aeaae35cdb94aa61649874ddfce --- crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crystal.py b/crystal.py index 383f01b..4c2cb41 100644 --- a/crystal.py +++ b/crystal.py @@ -4619,7 +4619,7 @@ class Asm: incbins[index] = new_object #insert these incbins into self.parts 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 break #insert before the current object -- cgit v1.2.3