From e779b88a58df1d670e2fb9f641f76341b4fdb49c Mon Sep 17 00:00:00 2001 From: Fabian Neundorf Date: Thu, 23 Jan 2025 21:44:44 +0100 Subject: [PATCH] patterns/iso: Fix incorrect condition (#344) --- patterns/iso.hexpat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patterns/iso.hexpat b/patterns/iso.hexpat index 4171c44..fabd0a8 100644 --- a/patterns/iso.hexpat +++ b/patterns/iso.hexpat @@ -133,7 +133,7 @@ struct VolumeDescriptor { char setId[0x80]; char publisherId[0x80]; char preparerId[0x80]; - } else if (type == VolumeDescriptorTypes::SupplementaryVolume && GetSupplementaryEncoding()) { + char applicationId[0x80]; char copyrightFileId[0x25]; char abstractFileId[0x25]; char bibliographicFileId[0x25]; @@ -142,7 +142,7 @@ struct VolumeDescriptor { StrDateFormat expirationTime[[format("FormatStrDate")]]; StrDateFormat effectiveTime[[format("FormatStrDate")]]; u8 fileStructVersion; - } else if (type == VolumeDescriptorTypes::SupplementaryVolume) { + } else if (type == VolumeDescriptorTypes::SupplementaryVolume && GetSupplementaryEncoding()) { u8 flags; be char16 systemId[0x10]; be char16 volumeId[0x10];