mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
DiscExtractor: Make P prefix for partition names optional
Also added constants for common partition types.
This commit is contained in:
parent
3014dadfa8
commit
cf9ab6ddcc
3 changed files with 12 additions and 9 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue