don't run duplicate check during debug because we allow duplicates during that, rename file

This commit is contained in:
JillianTo 2025-03-09 19:10:49 -04:00
parent 2365f4d697
commit 444ee2bda1

View File

@ -252,11 +252,12 @@ if not debug:
output_functs = list(set(tuple(funct) for funct in output_functs)) output_functs = list(set(tuple(funct) for funct in output_functs))
# Make sure there are no functions with the same starting address but different lengths # Make sure there are no functions with the same starting address but different lengths
for i in range(len(output_functs)): if not debug:
for j in range(i+1, len(output_functs)): for i in range(len(output_functs)):
curr_funct_start = output_functs[i][0] for j in range(i+1, len(output_functs)):
if curr_funct_start == output_functs[j][0]: curr_funct_start = output_functs[i][0]
print(f"WARNING: {curr_funct_start} has multiple entries of different lengths, manually find correct one.") if curr_funct_start == output_functs[j][0]:
print(f"WARNING: {curr_funct_start} has multiple entries of different lengths, manually find correct one.")
print(f"{len(output_functs)} functions found!") print(f"{len(output_functs)} functions found!")