mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DiscExtractor: Make P prefix for partition names optional
Also added constants for common partition types.
This commit is contained in:
@ -225,8 +225,7 @@ void FilesystemWidget::ShowContextMenu(const QPoint&)
|
||||
{
|
||||
if (const std::optional<u32> partition_type = m_volume->GetPartitionType(p))
|
||||
{
|
||||
const std::string partition_name =
|
||||
DiscIO::DirectoryNameForPartitionType(*partition_type);
|
||||
const std::string partition_name = DiscIO::NameForPartitionType(*partition_type, true);
|
||||
ExtractPartition(p, folder + QChar(u'/') + QString::fromStdString(partition_name));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user