summaryrefslogtreecommitdiff
path: root/extras/analyze_incbins.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-17 13:34:51 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-17 13:34:51 -0600
commite5f9d4a1444d7a5dcb755ab1304b9be3ee4db6ed (patch)
tree7ecedbc5a8172798c4903233c497db5ec440465c /extras/analyze_incbins.py
parentfe40cc4c7462bd5b528ad30c1d04f4d2702fd787 (diff)
text insertion code for unnamed TX_FARs
These TX_FARs are found in ASM inside INCBIN intervals, and as a consequence do not have good names. Someone will have to review the naming. Note that these texts may or may not be referenced in scripts that will eventually be imported. Some of these are raw texts that could be completely unreferenced, but so far that doesn't look like the case. hg-commit-id: 47239e73071a
Diffstat (limited to 'extras/analyze_incbins.py')
-rw-r--r--extras/analyze_incbins.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/analyze_incbins.py b/extras/analyze_incbins.py
index 353e5ea6..cc8d9810 100644
--- a/extras/analyze_incbins.py
+++ b/extras/analyze_incbins.py
@@ -236,6 +236,7 @@ def apply_diff(diff, try_fixing=True):
#confirm it's working
try:
subprocess.check_call("cd ../; make clean; LC_CTYPE=UTF-8 make", shell=True)
+ return True
except Exception, exc:
if try_fixing:
os.system("mv ../common1.asm ../common.asm")