mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 09:45:02 +00:00
Fix and simplify progress.py to account for src/audio/ files in 'code' (#1578)
This commit is contained in:
parent
0a48348f8d
commit
b4edc05c69
1 changed files with 7 additions and 7 deletions
14
progress.py
14
progress.py
|
@ -86,15 +86,15 @@ for line in mapFile:
|
||||||
objFile = lineSplit[3]
|
objFile = lineSplit[3]
|
||||||
|
|
||||||
if (section == ".text" and IsCFile(objFile)):
|
if (section == ".text" and IsCFile(objFile)):
|
||||||
if (objFile.startswith("build/src")):
|
if objFile.startswith("build/src"):
|
||||||
src += size
|
src += size
|
||||||
|
|
||||||
if (objFile.startswith("build/src/code") or (objFile.startswith("build/src/libultra/") and curSegment == "code")):
|
if curSegment == "code":
|
||||||
code += size
|
code += size
|
||||||
elif (objFile.startswith("build/src/boot") or (objFile.startswith("build/src/libultra/") and curSegment == "boot")):
|
elif curSegment == "boot":
|
||||||
boot += size
|
boot += size
|
||||||
elif (objFile.startswith("build/src/overlays")):
|
else:
|
||||||
ovl += size
|
ovl += size
|
||||||
|
|
||||||
nonMatchingASM = GetNonMatchingSize("asm/non_matchings")
|
nonMatchingASM = GetNonMatchingSize("asm/non_matchings")
|
||||||
nonMatchingASMBoot = GetNonMatchingSize("asm/non_matchings/boot")
|
nonMatchingASMBoot = GetNonMatchingSize("asm/non_matchings/boot")
|
||||||
|
|
Loading…
Reference in a new issue