diff --git a/rpcs3/Loader/ISO.cpp b/rpcs3/Loader/ISO.cpp index 9955e64f02..71af44f7ce 100644 --- a/rpcs3/Loader/ISO.cpp +++ b/rpcs3/Loader/ISO.cpp @@ -65,9 +65,10 @@ static std::optional iso_read_directory_entry(fs::file& entry, // Batch this set of file reads. This reduces overall time spent in iso_read_directory_entry by ~41% #pragma pack(push, 1) - struct entry_header + struct iso_entry_header { - u8 padding; + //u8 entry_length; // Handled separately + u8 extended_attribute_length; std::array start_sector; std::array file_size; u8 year; @@ -78,12 +79,15 @@ static std::optional iso_read_directory_entry(fs::file& entry, u8 second; u8 timezone_value; u8 flags; - std::array padding2; + u8 file_unit_size; + u8 interleave; + std::array volume_sequence_number; u8 file_name_length; + //u8 file_name[file_name_length]; // Handled separately }; #pragma pack(pop) - const entry_header header = entry.read(); + const iso_entry_header header = entry.read(); const u32 start_sector = retrieve_endian_int(header.start_sector.data()); const u32 file_size = retrieve_endian_int(header.file_size.data());