diff options
author | mid-kid <esteve.varela@gmail.com> | 2020-04-06 14:58:49 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2020-04-06 14:58:49 +0200 |
commit | e225d296b72a41cbee6e16416d8d1fcfb4760445 (patch) | |
tree | e08bfdb7aa004ec8b67c29f30e5e3b34830ff734 /tools/unnamed.py | |
parent | a325db0f14ca3c48bd9057627f7306b207544700 (diff) |
Bump tools/unnamed.py to RGBDS object version 13
Diffstat (limited to 'tools/unnamed.py')
-rwxr-xr-x | tools/unnamed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unnamed.py b/tools/unnamed.py index f404e6698..54a1473f2 100755 --- a/tools/unnamed.py +++ b/tools/unnamed.py @@ -81,14 +81,14 @@ for objfile in objects: elif magic == b'RGB9': obj_ver = 10 + unpack_file("<I", f)[0] - if obj_ver not in [6, 10, 11]: + if obj_ver not in [6, 10, 11, 12, 13]: print("Error: File '%s' is of an unknown format." % objfile, file=stderr) exit(1) num_symbols = unpack_file("<II", f)[0] for x in range(num_symbols): sym_name = read_string(f) - sym_type = symtype(unpack_file("<B", f)[0]) + sym_type = symtype(unpack_file("<B", f)[0] & 0x7f) if sym_type == symtype.IMPORT: continue sym_filename = read_string(f) |