diff --git a/progress.py b/progress.py index 803a84ba6c..27ca29f85a 100755 --- a/progress.py +++ b/progress.py @@ -106,6 +106,9 @@ def main(args): sizes, vrams = get_func_info() total_size = sum(sizes.values()) + # TODO hack for now since non-jp roms aren't mapped out + if args.version != "us": + total_size = 3718668 all_funcs = set(sizes.keys()) nonmatching_funcs = get_nonmatching_funcs() diff --git a/tools/find_similar_areas.py b/tools/find_similar_areas.py index 31922d0845..52f31c4c4e 100755 --- a/tools/find_similar_areas.py +++ b/tools/find_similar_areas.py @@ -108,7 +108,7 @@ def parse_map() -> OrderedDict[str, Symbol]: sect = sect_re.search(line) if sect: sect_str = sect.group(0) - if sect_str in ["(.text)", "(.data)", "(.rodata)", "(.bss)"]: + if sect_str in ["(.text*)", "(.data*)", "(.rodata*)", "(.bss*)"]: cur_sect = sect_str if "load address" in line: @@ -136,7 +136,7 @@ def parse_map() -> OrderedDict[str, Symbol]: elif "/" in fn: cur_file = fn else: - if cur_sect != "(.text)": + if cur_sect != "(.text*)": continue new_sym = Symbol( name=fn,