From 6b911411f071a174d794ced3a583fceff8073446 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Fri, 31 Jul 2026 19:12:55 -0400 Subject: Actually fix debug_map_diff.py paths --- tools/utilities/debug_map_diff.py | 4 ++-- 1 file 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 -- cgit v1.2.3