mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-21 09:05:33 -07:00
ISOExtractor: Fix critical bug that incapacitated it
This commit is contained in:
@@ -1465,7 +1465,7 @@ class ISOExtractor(ArchiveExtractor):
|
||||
|
||||
def extract(self, file_path, file_header, dest_dir, dest_dir_0):
|
||||
# Stop if this is not an ISO.
|
||||
if file_header[32769:32774] != b'CD001' or file_header[32777:32782] != b'CDROM':
|
||||
if file_header[32769:32774] != b'CD001' and file_header[32777:32782] != b'CDROM':
|
||||
return False
|
||||
|
||||
# Extract this as an archive.
|
||||
|
||||
Reference in New Issue
Block a user