Skip to content

Commit e779b88

Browse files
authored
patterns/iso: Fix incorrect condition (#344)
1 parent aef3d34 commit e779b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/iso.hexpat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ struct VolumeDescriptor {
133133
char setId[0x80];
134134
char publisherId[0x80];
135135
char preparerId[0x80];
136-
} else if (type == VolumeDescriptorTypes::SupplementaryVolume && GetSupplementaryEncoding()) {
136+
char applicationId[0x80];
137137
char copyrightFileId[0x25];
138138
char abstractFileId[0x25];
139139
char bibliographicFileId[0x25];
@@ -142,7 +142,7 @@ struct VolumeDescriptor {
142142
StrDateFormat expirationTime[[format("FormatStrDate")]];
143143
StrDateFormat effectiveTime[[format("FormatStrDate")]];
144144
u8 fileStructVersion;
145-
} else if (type == VolumeDescriptorTypes::SupplementaryVolume) {
145+
} else if (type == VolumeDescriptorTypes::SupplementaryVolume && GetSupplementaryEncoding()) {
146146
u8 flags;
147147
be char16 systemId[0x10];
148148
be char16 volumeId[0x10];

0 commit comments

Comments
 (0)