mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DiscScrubber: fix VC partitions (ssbb)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3271 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -60,6 +60,7 @@ struct SPartitionHeader
|
||||
};
|
||||
struct SPartition
|
||||
{
|
||||
u32 GroupNumber;
|
||||
u32 Number;
|
||||
u64 Offset;
|
||||
u32 Type;
|
||||
@ -284,6 +285,7 @@ void ParseDisc()
|
||||
{
|
||||
SPartition Partition;
|
||||
|
||||
Partition.GroupNumber = x;
|
||||
Partition.Number = i;
|
||||
|
||||
ReadFromDisc(PartitionGroup[x].PartitionsOffset + (i * 8) + 0, 4, Partition.Offset);
|
||||
@ -327,7 +329,7 @@ void ParsePartitionData(SPartition& _rPartition)
|
||||
IVolume *OldVolume = m_Disc;
|
||||
|
||||
// Ready some stuff
|
||||
m_Disc = CreateVolumeFromFilename(m_Filename.c_str(), _rPartition.Number);
|
||||
m_Disc = CreateVolumeFromFilename(m_Filename.c_str(), _rPartition.GroupNumber, _rPartition.Number);
|
||||
IFileSystem *FileSystem = CreateFileSystem(m_Disc);
|
||||
|
||||
std::vector<const SFileInfo *> Files;
|
||||
|
Reference in New Issue
Block a user