mirror of
https://github.com/zeldaret/oot
synced 2026-07-07 05:55:16 -04:00
Add pad_text to mkldscript and update progress.py (#1024)
* Add pad_text to mkldscript and update progress.py Implements `pad_text` from MM and uses it instead of asm nops for the padding in ucode_disas. Also updates `progress.py` to account for the change (RIP 1000000 code size), and to have a green badge for 100%. * Remove 1.00mb comment in progress.py Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
This commit is contained in:
+2
-2
@@ -95,7 +95,7 @@ boot -= nonMatchingASMBoot
|
||||
ovl -= nonMatchingASMOvl
|
||||
|
||||
bootSize = 31408 # decompilable code only
|
||||
codeSize = 1000000 # decompilable code only (1.00mb)
|
||||
codeSize = 999984 # decompilable code only
|
||||
ovlSize = 2812000 # .text sections
|
||||
|
||||
total = src + nonMatchingASM
|
||||
@@ -119,7 +119,7 @@ elif args.format == 'shield-json':
|
||||
"schemaVersion": 1,
|
||||
"label": "progress",
|
||||
"message": f"{srcPct:.3g}%",
|
||||
"color": 'yellow',
|
||||
"color": 'yellow' if srcPct < 100 else 'brightgreen',
|
||||
}))
|
||||
elif args.format == 'text':
|
||||
adjective = "decompiled" if not args.matching else "matched"
|
||||
|
||||
Reference in New Issue
Block a user