mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-10-30 07:11:38 +00:00 
			
		
		
		
	don't run duplicate check during debug because we allow duplicates during that, rename file
This commit is contained in:
		
							parent
							
								
									2365f4d697
								
							
						
					
					
						commit
						444ee2bda1
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		|  | @ -252,11 +252,12 @@ if not debug: | |||
|     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 | ||||
| for i in range(len(output_functs)): | ||||
|     for j in range(i+1, len(output_functs)): | ||||
|         curr_funct_start = output_functs[i][0] | ||||
|         if curr_funct_start == output_functs[j][0]: | ||||
|             print(f"WARNING: {curr_funct_start} has multiple entries of different lengths, manually find correct one.") | ||||
| if not debug: | ||||
|     for i in range(len(output_functs)): | ||||
|         for j in range(i+1, len(output_functs)): | ||||
|             curr_funct_start = output_functs[i][0] | ||||
|             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!") | ||||
| 
 | ||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 JillianTo
						JillianTo