diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-31 19:12:55 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-07-31 19:12:55 -0400 |
| commit | 6b911411f071a174d794ced3a583fceff8073446 (patch) | |
| tree | 9ec194f0a615d6a6feaf07584c4990642979ebca | |
| parent | fa73747971cabe2e0b3c7c4d56d998f4d5904b4a (diff) | |
Actually fix debug_map_diff.py paths
| -rwxr-xr-x | tools/utilities/debug_map_diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/utilities/debug_map_diff.py b/tools/utilities/debug_map_diff.py index eb07f9be..de22d788 100755 --- a/tools/utilities/debug_map_diff.py +++ b/tools/utilities/debug_map_diff.py @@ -45,11 +45,11 @@ del target_map_path_rel base_map_path_dol = decomp_root_path / "build" / "D44J01" / "framework.elf.MAP" base_map_path_rel = decomp_root_path / "build" / "D44J01" / target_object_name / f"{target_object_name}.plf.MAP" -if str(base_map_path_rel) in all_ninja_outputs: +if base_map_path_rel.as_posix() in all_ninja_outputs: base_is_rel = True base_map_path = base_map_path_rel else: - assert str(base_map_path_dol) in all_ninja_outputs + assert base_map_path_dol.as_posix() in all_ninja_outputs base_is_rel = False base_map_path = base_map_path_dol del base_map_path_dol |
