Skip to content

Commit

Permalink
Fix progress script
Browse files Browse the repository at this point in the history
  • Loading branch information
JaceCear committed Jan 31, 2025
1 parent abb130b commit 683a47e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ def parse_map(non_matching_funcs):
section = arr[0]
size = int(arr[2], 16)
filepath = arr[3]
# build/sa3/../
# ^
# 0 1 2
dir = filepath.split('/')[2]

# (asm|data|sound|src|...)/*/
# ^
# 0 1
dir = filepath.split('/')[0]

if section == '.text':
if dir == 'src':
Expand Down

0 comments on commit 683a47e

Please sign in to comment.