1
0
mirror of synced 2025-01-31 12:13:49 +01:00

Apparently some BishiBashi levels use an even older AP2 version.

This commit is contained in:
Jennifer Taylor 2021-04-26 01:27:10 +00:00
parent 06bd9d1245
commit 28ce17b996

View File

@ -1412,7 +1412,7 @@ class SWF(TrackedCoverage, VerboseOutput):
raise Exception(f"Unrecognzied magic {magic}!")
if length != len(data):
raise Exception(f"Unexpected length in AFP header, {length} != {len(data)}!")
if ap2_data_version not in [8, 9, 10]:
if ap2_data_version not in [7, 8, 9, 10]:
raise Exception(f"Unsupported AP2 container version {ap2_data_version}!")
if version != 0x200:
raise Exception(f"Unsupported AP2 version {version}!")