Fix tools/unnamed.py for new rgbds object format

This commit is contained in:
mid-kid 2020-02-21 01:48:17 +01:00
parent 65a780994f
commit 18013b468a

View File

@ -81,7 +81,7 @@ for objfile in objects:
elif magic == b'RGB9': elif magic == b'RGB9':
obj_ver = 10 + unpack_file("<I", f)[0] obj_ver = 10 + unpack_file("<I", f)[0]
if obj_ver not in [6, 10]: if obj_ver not in [6, 10, 11]:
print("Error: File '%s' is of an unknown format." % objfile, file=stderr) print("Error: File '%s' is of an unknown format." % objfile, file=stderr)
exit(1) exit(1)