mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +01:00
Further fixes
This commit is contained in:
parent
12e39b0bc6
commit
9a016f7d8a
File diff suppressed because it is too large
Load Diff
8
papermario/tools/find_bogus_functions.py
Normal file → Executable file
8
papermario/tools/find_bogus_functions.py
Normal file → Executable file
@ -57,8 +57,6 @@ def process_file(path):
|
|||||||
skip_next = False
|
skip_next = False
|
||||||
continue
|
continue
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
if "A4000658" in line:
|
|
||||||
dog = 5
|
|
||||||
|
|
||||||
if line.endswith(":") and not line.startswith(".L"):
|
if line.endswith(":") and not line.startswith(".L"):
|
||||||
func_preamble = line.startswith("func_")
|
func_preamble = line.startswith("func_")
|
||||||
@ -69,9 +67,9 @@ def process_file(path):
|
|||||||
# func_12345689
|
# func_12345689
|
||||||
|
|
||||||
# Delete redundant label below
|
# Delete redundant label below
|
||||||
if file_lines[i + 1].strip() == ".L" + label[5:13] + ":":
|
# if file_lines[i + 1].strip() == ".L" + label[5:13] + ":":
|
||||||
to_delete.append(i + 1)
|
# to_delete.append(i + 1)
|
||||||
skip_next = True
|
# skip_next = True
|
||||||
|
|
||||||
if linked_al_to:
|
if linked_al_to:
|
||||||
# Seems to be legit. Do nothing for now
|
# Seems to be legit. Do nothing for now
|
||||||
|
Loading…
Reference in New Issue
Block a user