CDROM: Add PVD/directory entries to file map

This commit is contained in:
Stenzek
2023-11-30 14:38:38 +10:00
parent 8cfa4637a2
commit df91c63b31
3 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,7 @@ bool IsoReader::ReadPVD(Error* error)
else if (header->type_code == 255)
break;
m_pvd_lba = START_SECTOR + i;
std::memcpy(&m_pvd, buffer, sizeof(ISOPrimaryVolumeDescriptor));
Log_DevFmt("ISOReader: PVD found at index {}", i);
return true;