From 130c641550d64ce7c6bd09de55dd1e38367200a9 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 14 Oct 2023 17:33:52 -0700 Subject: [PATCH] Disble progress on modules Former-commit-id: 03f68bc3b54c43501c4b88b6e0d811a2f955633a --- configure.py | 1 + tools/project.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/configure.py b/configure.py index ddbace5b..b3d422f1 100755 --- a/configure.py +++ b/configure.py @@ -138,6 +138,7 @@ config.ldflags = [ "-nodefaults", ] config.progress_all = False +config.progress_modules = False config.build_rels = False # Base flags, common to most GC/Wii games. diff --git a/tools/project.py b/tools/project.py index b7ba7cc0..3b08d1f4 100644 --- a/tools/project.py +++ b/tools/project.py @@ -945,6 +945,9 @@ def calculate_progress(config): print("Progress:") def print_category(unit): + if unit is None: + return + code_frac = unit.code_frac() data_frac = unit.data_frac() print(