1
0
mirror of synced 2025-02-20 20:50:59 +01:00

Only check IFS file size if we extracted it out of our own IFS.

This commit is contained in:
Jennifer Taylor 2021-05-06 19:37:32 +00:00
parent 9ce8b79b10
commit 459803d244

View File

@ -140,8 +140,8 @@ class IFS:
raise Exception(f"{fn} not found in {external_file} IFS!")
else:
filedata = data[start:(start + size)]
if len(filedata) != size:
raise Exception(f"Couldn't extract file data for {fn}!")
if len(filedata) != size:
raise Exception(f"Couldn't extract file data for {fn}!")
self.__files[fn] = filedata
# Now, find all of the index files that are available.