mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
ISOProperties: show all paritions on property page.
This commit is contained in:
@ -129,11 +129,13 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
|||||||
bool IsWad = DiscIO::IsVolumeWadFile(OpenISO);
|
bool IsWad = DiscIO::IsVolumeWadFile(OpenISO);
|
||||||
bool IsWiiDisc = DiscIO::IsVolumeWiiDisc(OpenISO);
|
bool IsWiiDisc = DiscIO::IsVolumeWiiDisc(OpenISO);
|
||||||
if (IsWiiDisc)
|
if (IsWiiDisc)
|
||||||
|
{
|
||||||
|
for (int group = 0; group < 4; group++)
|
||||||
{
|
{
|
||||||
for (u32 i = 0; i < 0xFFFFFFFF; i++) // yes, technically there can be OVER NINE THOUSAND partitions...
|
for (u32 i = 0; i < 0xFFFFFFFF; i++) // yes, technically there can be OVER NINE THOUSAND partitions...
|
||||||
{
|
{
|
||||||
WiiPartition temp;
|
WiiPartition temp;
|
||||||
if ((temp.Partition = DiscIO::CreateVolumeFromFilename(fileName, 0, i)) != nullptr)
|
if ((temp.Partition = DiscIO::CreateVolumeFromFilename(fileName, group, i)) != nullptr)
|
||||||
{
|
{
|
||||||
if ((temp.FileSystem = DiscIO::CreateFileSystem(temp.Partition)) != nullptr)
|
if ((temp.FileSystem = DiscIO::CreateFileSystem(temp.Partition)) != nullptr)
|
||||||
{
|
{
|
||||||
@ -147,6 +149,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// TODO : Should we add a way to browse the wad file ?
|
// TODO : Should we add a way to browse the wad file ?
|
||||||
|
Reference in New Issue
Block a user