Corrected the file offset within the FST of virtual disks (used by the DVD Root path function).

This commit is contained in:
skidau 2012-04-28 11:21:55 +10:00
parent 8878ae5fc3
commit 330f63df80
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ void CVolumeDirectory::WriteEntryData(u32& entryOffset, u8 type, u32 nameOffset,
m_FSTData[entryOffset++] = (nameOffset >> 8) & 0xff;
m_FSTData[entryOffset++] = (nameOffset) & 0xff;
Write32((u32)(dataOffset >> m_addressShift), entryOffset, m_FSTData);
Write32((u32)(dataOffset), entryOffset, m_FSTData);
entryOffset += 4;
Write32((u32)length, entryOffset, m_FSTData);