Fix DVD root path for Wii games. Now Wii games can be booted using extracted files instead of a disc image.

This commit is contained in:
Pierre Bourdon 2012-05-11 22:19:57 +02:00
parent ec0ddb476e
commit 04bde406d3
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 >> 8) & 0xff;
m_FSTData[entryOffset++] = (nameOffset) & 0xff; m_FSTData[entryOffset++] = (nameOffset) & 0xff;
Write32((u32)(dataOffset), entryOffset, m_FSTData); Write32((u32)(dataOffset >> m_addressShift), entryOffset, m_FSTData);
entryOffset += 4; entryOffset += 4;
Write32((u32)length, entryOffset, m_FSTData); Write32((u32)length, entryOffset, m_FSTData);