diff options
| author | stag019 <stag019@gmail.com> | 2012-01-18 01:45:10 -0500 |
|---|---|---|
| committer | stag019 <stag019@gmail.com> | 2012-01-18 01:45:10 -0500 |
| commit | 549637d0dfbb0adedcd6b05ec028c58044c8c46f (patch) | |
| tree | 7a0cebc72707797842f284d1bcaa6c2f543f24c8 /extras/analyze_incbins.py | |
| parent | Various little text strings in bank 1D. (diff) | |
| parent | A tiny bit of work on bank 1D. (diff) | |
| download | pokeyellow-549637d0dfbb0adedcd6b05ec028c58044c8c46f.tar.gz pokeyellow-549637d0dfbb0adedcd6b05ec028c58044c8c46f.tar.xz pokeyellow-549637d0dfbb0adedcd6b05ec028c58044c8c46f.zip | |
fucking you and yours
hg-commit-id: 8a2a1f3736f2
Diffstat (limited to 'extras/analyze_incbins.py')
| -rw-r--r-- | extras/analyze_incbins.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extras/analyze_incbins.py b/extras/analyze_incbins.py index 353e5ea6..9069a3ae 100644 --- a/extras/analyze_incbins.py +++ b/extras/analyze_incbins.py @@ -79,7 +79,9 @@ def process_incbins(): "end": end, } - processed_incbins[line_number] = processed_incbin + #don't add this incbin if the interval is 0 + if interval != 0: + processed_incbins[line_number] = processed_incbin def find_incbin_to_replace_for(address): """returns a line number for which incbin to edit @@ -235,7 +237,8 @@ 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) + subprocess.check_call("cd ../; make clean; LC_CTYPE=C make", shell=True) + return True except Exception, exc: if try_fixing: os.system("mv ../common1.asm ../common.asm") |
