mirror of https://github.com/zeldaret/mm.git
Fixed typo in progress.py that made it count .rodata as decompilable code
This commit is contained in:
parent
7692d06fcd
commit
fe8a5a216e
|
@ -38,7 +38,7 @@ if __name__ == "__main__":
|
||||||
size = int(line_split[2], 16)
|
size = int(line_split[2], 16)
|
||||||
obj_file = line_split[3]
|
obj_file = line_split[3]
|
||||||
|
|
||||||
if (section == ".text" and not current_section + '_data' in obj_file and not current_section + '_todata' in obj_file):
|
if (section == ".text" and not current_section + '_data' in obj_file and not current_section + '_rodata' in obj_file):
|
||||||
if (obj_file.startswith("build/src")):
|
if (obj_file.startswith("build/src")):
|
||||||
src_amounts[current_section] += size
|
src_amounts[current_section] += size
|
||||||
formatted_name = obj_file[len('build/'):] # remove build/ prefix
|
formatted_name = obj_file[len('build/'):] # remove build/ prefix
|
||||||
|
|
Loading…
Reference in New Issue