mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
split unknown_005740 into unknown_008C40 & unknown_00B8E0
This commit is contained in:
@@ -39,11 +39,10 @@ def getLineType(line):
|
||||
return 0
|
||||
|
||||
def getAsmFileReferenceForLabel(filename, label):
|
||||
searchLabel = ASM_DIRECTORY + filename
|
||||
possibleFiles = []
|
||||
search = os.popen('fgrep -r "' + label + '"').read().split('\n')
|
||||
for line in search:
|
||||
if searchLabel in line:
|
||||
if ASM_DIRECTORY in line:
|
||||
asmfilePath = line.split(':')[0]
|
||||
if asmfilePath not in possibleFiles:
|
||||
possibleFiles.append(asmfilePath)
|
||||
|
||||
Reference in New Issue
Block a user