From 6facc0125ff16208031264fe06e348f80439a3de Mon Sep 17 00:00:00 2001 From: RevoSucks Date: Wed, 1 Nov 2023 19:27:24 -0400 Subject: [PATCH] ignore gFaultDrawerFont with a progress.py hack. TODO: This should be extracted, as it is an asset, not code. --- tools/progress.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/progress.py b/tools/progress.py index 0626e9b65..318f413ae 100755 --- a/tools/progress.py +++ b/tools/progress.py @@ -29,7 +29,9 @@ def GetFunctionsByPattern(pattern, files): for file in files: with open(file) as f: - functions += re.findall(pattern, f.read(), re.DOTALL) + str = re.findall(pattern, f.read(), re.DOTALL) + if "asm/non_matchings/boot/fault_drawer/sFaultDrawerFont.s" not in str: + functions += str return functions